added posix thread specific data functions
added a pthread_detach skeleton git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -127,6 +127,12 @@ extern pthread_t pthread_self(void);
|
||||
|
||||
extern int pthread_kill(pthread_t thread, int sig);
|
||||
|
||||
/* thread specific data functions */
|
||||
extern int pthread_key_create(pthread_key_t *key, void (*destructor)(void*));
|
||||
extern int pthread_key_delete(pthread_key_t key);
|
||||
extern void *pthread_getspecific(pthread_key_t key);
|
||||
extern int pthread_setspecific(pthread_key_t key, const void *value);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user