add RUSAGE_THREAD (Linux extension) definition to sys/resource.h
authorRich Felker <dalias@aerifal.cx>
Wed, 29 Jun 2016 15:55:41 +0000 (11:55 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 29 Jun 2016 15:55:41 +0000 (11:55 -0400)
include/sys/resource.h

index ef02a391de751be58f2885b28af883d2de381516..6f22a2e780e23ef85ce1a399c0dcb7ba9c42267a 100644 (file)
@@ -69,6 +69,7 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
 
 #define RUSAGE_SELF     0
 #define RUSAGE_CHILDREN (-1)
+#define RUSAGE_THREAD   1
 
 #define RLIM_INFINITY (~0ULL)
 #define RLIM_SAVED_CUR RLIM_INFINITY