From 416d2de60b8e567ac7cd6a581afba0f5cdfc932e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 31 Dec 2002 08:00:19 +0000 Subject: Update. 2002-12-30 Ulrich Drepper * malloc/thread-m.h (thread_atfork): Define using __register_atfork. --- linuxthreads/pthread.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linuxthreads/pthread.c') diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 15de7e6..444c0a0 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -238,6 +238,7 @@ static struct pthread_functions pthread_functions = .ptr_pthread_internal_tsd_get = __pthread_internal_tsd_get, .ptr_pthread_internal_tsd_address = __pthread_internal_tsd_address, #endif + .ptr_pthread_fork = __pthread_fork, .ptr_pthread_attr_destroy = __pthread_attr_destroy, #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1) .ptr___pthread_attr_init_2_0 = __pthread_attr_init_2_0, @@ -273,7 +274,8 @@ static struct pthread_functions pthread_functions = .ptr_pthread_setcancelstate = __pthread_setcancelstate, .ptr_pthread_setcanceltype = __pthread_setcanceltype, .ptr_pthread_do_exit = __pthread_do_exit, - .ptr_pthread_thread_self = __pthread_thread_self + .ptr_pthread_thread_self = __pthread_thread_self, + .ptr_pthread_cleanup_upto = __pthread_cleanup_upto }; # define ptr_pthread_functions &pthread_functions #else -- cgit v1.1