diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2003-11-04 20:10:15 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-11-04 20:10:15 +0000 |
commit | 8b813ec31cf03fd49bfb11b7460b721d55f9e5f6 (patch) | |
tree | 6585ac19138f8bf534777b51280cc1f4f50f1952 /include | |
parent | 4c1123c1c023bff3a413efecc581d1508a7d211c (diff) | |
download | src-8b813ec31cf03fd49bfb11b7460b721d55f9e5f6.tar.gz src-8b813ec31cf03fd49bfb11b7460b721d55f9e5f6.zip |
Add the pthread_atfork() prototype.
Reviewed by: davidxu
Notes
Notes:
svn path=/head/; revision=122076
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 e86b31821910..36a5eff331f3 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, |