diff options
| author | David Xu <davidxu@FreeBSD.org> | 2008-11-10 01:42:46 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2008-11-10 01:42:46 +0000 |
| commit | daa5cc82dee3d9f611c6ab66867ef5bc9c4c677f (patch) | |
| tree | e3ea357702d4b5bedf2a33f8ff4728d1279cc0d5 /include | |
| parent | 0b373be02b087419a1752eec3975d5c4397a8a92 (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/time.h | 1 | ||||
| -rw-r--r-- | include/unistd.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h index 69a41c2451ee..d28d9b48b905 100644 --- a/include/time.h +++ b/include/time.h @@ -108,6 +108,7 @@ typedef __timer_t timer_t; #define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ #define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ #define CLOCK_SECOND 13 /* FreeBSD-specific. */ +#define CLOCK_THREAD_CPUTIME_ID 14 #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 diff --git a/include/unistd.h b/include/unistd.h index 48c925c340a0..7d7253decdd7 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -111,7 +111,7 @@ typedef __useconds_t useconds_t; #define _POSIX_SPIN_LOCKS 200112L #define _POSIX_THREAD_ATTR_STACKADDR 200112L #define _POSIX_THREAD_ATTR_STACKSIZE 200112L -#define _POSIX_THREAD_CPUTIME -1 +#define _POSIX_THREAD_CPUTIME 200112L #define _POSIX_THREAD_PRIO_INHERIT 200112L #define _POSIX_THREAD_PRIO_PROTECT 200112L #define _POSIX_THREAD_PRIORITY_SCHEDULING 200112L |
