summaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2003-11-04 20:10:15 +0000
committerdeischen <deischen@FreeBSD.org>2003-11-04 20:10:15 +0000
commit51a7ecabf175e87ddc5bf4b21224e08d6cd9f202 (patch)
tree6585ac19138f8bf534777b51280cc1f4f50f1952 /include/pthread.h
parent1191fa7e324052c4d97e45f85cbb566eb985c1c6 (diff)
downloadFreeBSD-src-51a7ecabf175e87ddc5bf4b21224e08d6cd9f202.zip
FreeBSD-src-51a7ecabf175e87ddc5bf4b21224e08d6cd9f202.tar.gz
Add the pthread_atfork() prototype.
Reviewed by: davidxu
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h2
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,
OpenPOWER on IntegriCloud