aboutsummaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2008-03-22 09:59:20 +0000
committerDavid Xu <davidxu@FreeBSD.org>2008-03-22 09:59:20 +0000
commit9939a13667567dd4b0c3496953d99b87a6995208 (patch)
tree015a0dec5360aa70620f168434fc00e9c526fd1c /include/pthread.h
parent698b1a6643b3010e921a719cfc0bf7fb13781c00 (diff)
downloadsrc-9939a13667567dd4b0c3496953d99b87a6995208.tar.gz
src-9939a13667567dd4b0c3496953d99b87a6995208.zip
Add POSIX pthread API pthread_getcpuclockid() to get a thread's cpu
time clock id.
Notes
Notes: svn path=/head/; revision=177494
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h
index 361b45ce91e0..215b88258fec 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 *));