From c9b8e5d0d1c38c48570be14216112201158503da Mon Sep 17 00:00:00 2001 From: bje Date: Wed, 22 Jul 1998 09:09:24 +0000 Subject: 1998-07-22 Ben Elliston * pthread.h (pthread_atfork): Add function prototype. * fork.c (pthread_atfork): Preliminary implementation. (_pthread_fork): Likewise. --- pthread.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pthread.h') 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 *), -- cgit v1.2.3