diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-23 04:41:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-23 04:41:29 +0000 |
commit | 571f2090f876fee3eb99fd141d6595e6bc45549c (patch) | |
tree | 754b93812c920bb3c3a5e62e4c092d80baa74825 /linuxthreads/pthread.c | |
parent | 365b16029b0a6645fac11ff61de21ca0d23d223f (diff) | |
download | glibc-571f2090f876fee3eb99fd141d6595e6bc45549c.tar.gz glibc-571f2090f876fee3eb99fd141d6595e6bc45549c.tar.xz glibc-571f2090f876fee3eb99fd141d6595e6bc45549c.zip |
Update.
2003-09-22 Philip Blundell <philb@gnu.org> * 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.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r-- | linuxthreads/pthread.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index a6a2edac81..b3953542e0 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 |