소스 검색

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

Rich Felker 8 년 전
부모
커밋
5c43e1dbc8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      include/sys/resource.h

+ 1 - 0
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