projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3bbc7b
)
add RUSAGE_THREAD (Linux extension) definition to sys/resource.h
author
Rich Felker
<dalias@aerifal.cx>
Wed, 29 Jun 2016 15:55:41 +0000
(11:55 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 29 Jun 2016 15:55:41 +0000
(11:55 -0400)
include/sys/resource.h
patch
|
blob
|
history
diff --git
a/include/sys/resource.h
b/include/sys/resource.h
index ef02a391de751be58f2885b28af883d2de381516..6f22a2e780e23ef85ce1a399c0dcb7ba9c42267a 100644
(file)
--- 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