diff options
author | deischen <deischen@FreeBSD.org> | 2003-11-04 20:10:15 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-11-04 20:10:15 +0000 |
commit | 51a7ecabf175e87ddc5bf4b21224e08d6cd9f202 (patch) | |
tree | 6585ac19138f8bf534777b51280cc1f4f50f1952 /include | |
parent | 1191fa7e324052c4d97e45f85cbb566eb985c1c6 (diff) | |
download | FreeBSD-src-51a7ecabf175e87ddc5bf4b21224e08d6cd9f202.zip FreeBSD-src-51a7ecabf175e87ddc5bf4b21224e08d6cd9f202.tar.gz |
Add the pthread_atfork() prototype.
Reviewed by: davidxu
Diffstat (limited to 'include')
-rw-r--r-- | include/pthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h index e86b318..36a5eff 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -196,6 +196,8 @@ enum pthread_mutextype { * Thread function prototype definitions: */ __BEGIN_DECLS +int pthread_atfork(void (*prepare)(void), void (*parent)(void), + void (*child)(void)); int pthread_attr_destroy(pthread_attr_t *); int pthread_attr_getstack(const pthread_attr_t * __restrict, void ** __restrict stackaddr, |