Implemented pthread_atfork()

Change-Id: Ie6c0bf593315d3507b3c4a6c8903a74a1fa053db
This commit is contained in:
Matt Fischer
2010-06-25 14:36:39 -05:00
committed by Jean-Baptiste Queru
parent e73a571fd9
commit 4f086aeb4a
6 changed files with 142 additions and 1 deletions

View File

@@ -233,6 +233,8 @@ int pthread_once(pthread_once_t *once_control, void (*init_routine)(void));
int pthread_setname_np(pthread_t thid, const char *thname);
int pthread_atfork(void (*prepare)(void), void (*parent)(void), void(*child)(void));
typedef void (*__pthread_cleanup_func_t)(void*);
typedef struct __pthread_cleanup_t {