From 571f2090f876fee3eb99fd141d6595e6bc45549c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 23 Sep 2003 04:41:29 +0000 Subject: Update. 2003-09-22 Philip Blundell * forward.c: Add _pthread_cleanup_push, _pthread_cleanup_pop. * sysdeps/pthread/pthread-functions.h (struct pthread_functions): Likewise. * pthread.c (__pthread_elements): Initialise these new elements. * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_push): Use __libc_maybe_call. (__libc_cleanup_pop): Likewise. --- 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 a6a2eda..b395354 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -279,7 +279,9 @@ struct pthread_functions __pthread_functions = .ptr_pthread_cleanup_upto = __pthread_cleanup_upto, .ptr_pthread_sigaction = __pthread_sigaction, .ptr_pthread_sigwait = __pthread_sigwait, - .ptr_pthread_raise = __pthread_raise + .ptr_pthread_raise = __pthread_raise, + .ptr__pthread_cleanup_push = _pthread_cleanup_push, + .ptr__pthread_cleanup_pop = _pthread_cleanup_pop }; #ifdef SHARED # define ptr_pthread_functions &__pthread_functions -- cgit v1.1