summaryrefslogtreecommitdiffstats
path: root/lib/libc/include/libc_private.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2006-03-05 18:10:28 +0000
committerdeischen <deischen@FreeBSD.org>2006-03-05 18:10:28 +0000
commite586a0042e10fd3b8cd186195c3363e8a99ef63c (patch)
treee6564232c43be20321cd3a1bb8dd416991b7d132 /lib/libc/include/libc_private.h
parent182ee5abd3c41001929cb318f8df6696fb4f4ac4 (diff)
downloadFreeBSD-src-e586a0042e10fd3b8cd186195c3363e8a99ef63c.zip
FreeBSD-src-e586a0042e10fd3b8cd186195c3363e8a99ef63c.tar.gz
Add some more pthread stubs so that librt can use them.
The thread jump table has been resorted, so you need to keep libc, libpthread, and libthr in sync. Submitted by: xu
Diffstat (limited to 'lib/libc/include/libc_private.h')
-rw-r--r--lib/libc/include/libc_private.h37
1 files changed, 34 insertions, 3 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index 0959c6c..cd5769e 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -70,23 +70,51 @@ extern int __isthreaded;
* libraries that reference it (libc_r, libpthread).
*/
typedef enum {
+ PJT_ATFORK,
+ PJT_ATTR_DESTROY,
+ PJT_ATTR_GETDETACHSTATE,
+ PJT_ATTR_GETGUARDSIZE,
+ PJT_ATTR_GETINHERITSCHED,
+ PJT_ATTR_GETSCHEDPARAM,
+ PJT_ATTR_GETSCHEDPOLICY,
+ PJT_ATTR_GETSCOPE,
+ PJT_ATTR_GETSTACKADDR,
+ PJT_ATTR_GETSTACKSIZE,
+ PJT_ATTR_INIT,
+ PJT_ATTR_SETDETACHSTATE,
+ PJT_ATTR_SETGUARDSIZE,
+ PJT_ATTR_SETINHERITSCHED,
+ PJT_ATTR_SETSCHEDPARAM,
+ PJT_ATTR_SETSCHEDPOLICY,
+ PJT_ATTR_SETSCOPE,
+ PJT_ATTR_SETSTACKADDR,
+ PJT_ATTR_SETSTACKSIZE,
+ PJT_CANCEL,
+ PJT_CLEANUP_POP,
+ PJT_CLEANUP_PUSH,
PJT_COND_BROADCAST,
PJT_COND_DESTROY,
PJT_COND_INIT,
PJT_COND_SIGNAL,
+ PJT_COND_TIMEDWAIT,
PJT_COND_WAIT,
+ PJT_DETACH,
+ PJT_EQUAL,
+ PJT_EXIT,
PJT_GETSPECIFIC,
+ PJT_JOIN,
PJT_KEY_CREATE,
PJT_KEY_DELETE,
+ PJT_KILL,
PJT_MAIN_NP,
+ PJT_MUTEXATTR_DESTROY,
+ PJT_MUTEXATTR_INIT,
+ PJT_MUTEXATTR_SETTYPE,
PJT_MUTEX_DESTROY,
PJT_MUTEX_INIT,
PJT_MUTEX_LOCK,
PJT_MUTEX_TRYLOCK,
PJT_MUTEX_UNLOCK,
- PJT_MUTEXATTR_DESTROY,
- PJT_MUTEXATTR_INIT,
- PJT_MUTEXATTR_SETTYPE,
PJT_ONCE,
PJT_RWLOCK_DESTROY,
PJT_RWLOCK_INIT,
@@ -96,8 +124,11 @@ typedef enum {
PJT_RWLOCK_UNLOCK,
PJT_RWLOCK_WRLOCK,
PJT_SELF,
+ PJT_SETCANCELSTATE,
+ PJT_SETCANCELTYPE,
PJT_SETSPECIFIC,
PJT_SIGMASK,
+ PJT_TESTCANCEL,
PJT_MAX
} pjt_index_t;
OpenPOWER on IntegriCloud