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:
Jérôme Duval
2006-06-20 12:27:46 +00:00
parent a23efdfa79
commit 1f11178f97
4 changed files with 59 additions and 0 deletions
+6
View File
@@ -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