libc/include/sys/resource.h: Add RUSAGE_THREAD

This commit is contained in:
Joel Sherrill 2024-07-08 17:22:44 -05:00
parent 5876c8cab4
commit 80550ffc2e
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ extern "C" {
#define RUSAGE_SELF 0 /* calling process */
#define RUSAGE_CHILDREN -1 /* terminated child processes */
#if __GNU_VISIBLE
#define RUSAGE_THREAD 1
#endif
struct rusage {
struct timeval ru_utime; /* user time used */