diff options
author | davidxu <davidxu@FreeBSD.org> | 2008-03-22 09:59:20 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2008-03-22 09:59:20 +0000 |
commit | 1423f22a4cfd25ee67c64722cb270d04a9baa2f6 (patch) | |
tree | 015a0dec5360aa70620f168434fc00e9c526fd1c /include/pthread.h | |
parent | a9d123c3ab34baa9fe2c8c25bd9acfbfb31b381e (diff) | |
download | FreeBSD-src-1423f22a4cfd25ee67c64722cb270d04a9baa2f6.zip FreeBSD-src-1423f22a4cfd25ee67c64722cb270d04a9baa2f6.tar.gz |
Add POSIX pthread API pthread_getcpuclockid() to get a thread's cpu
time clock id.
Diffstat (limited to 'include/pthread.h')
-rw-r--r-- | include/pthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h index 361b45c..215b882 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -185,6 +185,7 @@ int pthread_detach(pthread_t); int pthread_equal(pthread_t, pthread_t); void pthread_exit(void *) __dead2; void *pthread_getspecific(pthread_key_t); +int pthread_getcpuclockid(pthread_t, clockid_t *); int pthread_join(pthread_t, void **); int pthread_key_create(pthread_key_t *, void (*) (void *)); |