diff options
Diffstat (limited to 'libc/include/pthread.h')
-rw-r--r-- | libc/include/pthread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 99e747aa5..6407a1991 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h @@ -138,10 +138,15 @@ int pthread_getattr_np(pthread_t thid, pthread_attr_t * attr); int pthread_create(pthread_t *thread, pthread_attr_t const * attr, void *(*start_routine)(void *), void * arg); +#ifdef NASTY_PTHREAD_CREATE_HACK +int _debug_pthread_create(void *debug0, void *debug1, pthread_t *thread, + const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); +#endif void pthread_exit(void * retval); int pthread_join(pthread_t thid, void ** ret_val); int pthread_detach(pthread_t thid); +__attribute__((const)) pthread_t pthread_self(void); int pthread_equal(pthread_t one, pthread_t two); |