提交 5c43e1db 编写于 作者: R Rich Felker

add RUSAGE_THREAD (Linux extension) definition to sys/resource.h

上级 b3bbc7b1
...@@ -69,6 +69,7 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); ...@@ -69,6 +69,7 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
#define RUSAGE_SELF 0 #define RUSAGE_SELF 0
#define RUSAGE_CHILDREN (-1) #define RUSAGE_CHILDREN (-1)
#define RUSAGE_THREAD 1
#define RLIM_INFINITY (~0ULL) #define RLIM_INFINITY (~0ULL)
#define RLIM_SAVED_CUR RLIM_INFINITY #define RLIM_SAVED_CUR RLIM_INFINITY
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册