summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorbje <bje>1998-07-22 09:09:24 +0000
committerbje <bje>1998-07-22 09:09:24 +0000
commitc9b8e5d0d1c38c48570be14216112201158503da (patch)
treeccdeed11b64ff0e7aa4541139f063a7e40b80cb1 /pthread.h
parent0884b3d61a65fbec11f5fdae262af335e0c46869 (diff)
1998-07-22 Ben Elliston <bje@cygnus.com>
* pthread.h (pthread_atfork): Add function prototype. * fork.c (pthread_atfork): Preliminary implementation. (_pthread_fork): Likewise.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index bf9ff7b..82b1a93 100644
--- a/pthread.h
+++ b/pthread.h
@@ -51,6 +51,10 @@ typedef struct {
extern "C" {
#endif /* __cplusplus */
+int pthread_atfork (void (*prepare)(void),
+ void (*parent)(void),
+ void (*child)(void));
+
int pthread_create(pthread_t *thread,
const pthread_attr_t *attr,
void * (*start_routine) (void *),