commit | 4f086aeb4aa06e13079b7fec71a8178ceeacf318 | [log] [tgz] |
---|---|---|
author | Matt Fischer <matt.fischer@garmin.com> | Fri Jun 25 14:36:39 2010 -0500 |
committer | Jean-Baptiste Queru <jbq@google.com> | Fri Jul 23 13:10:16 2010 -0700 |
tree | a6b0fbce5c6d0f507a244ef4f87ec648b7c35a76 | |
parent | e73a571fd9b60315681eacbef5857f0f0b1ece18 [diff] |
Implemented pthread_atfork() Change-Id: Ie6c0bf593315d3507b3c4a6c8903a74a1fa053db
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 944bb68..ecabdb1 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h
@@ -233,6 +233,8 @@ 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 {