From 5c43e1dbc8716536551d392f834c6752a3e82cec Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 29 Jun 2016 11:55:41 -0400 Subject: [PATCH] add RUSAGE_THREAD (Linux extension) definition to sys/resource.h --- include/sys/resource.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/resource.h b/include/sys/resource.h index ef02a391..6f22a2e7 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -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 -- 2.25.1