diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-07-14 19:43:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-07-14 19:43:02 +0000 |
commit | c764b9a7280436b891ffa5dfb46d14a8df405a97 (patch) | |
tree | 843f8e5a4314ff9e86c0e85da6908bdd00f15eef /linuxthreads/sysdeps/pthread/bits/libc-lock.h | |
parent | 19cc96bfe5d37c40995d6d60d902258852c38909 (diff) | |
download | glibc-c764b9a7280436b891ffa5dfb46d14a8df405a97.tar.gz glibc-c764b9a7280436b891ffa5dfb46d14a8df405a97.tar.xz glibc-c764b9a7280436b891ffa5dfb46d14a8df405a97.zip |
Update.
1998-07-14 19:39 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc. [_USE_IN_LIBIO] (encode_error): Free cancelation handler. (conv_error): Likewise. (input_error): Likewise. (memory_error): Likewise. 1998-07-12 Mark Kettenis <kettenis@phys.uva.nl> * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic implementation. Include <entry.h>. Replace references to symbol _start with macro ENTRY_POINT. (__libc_uid): Remove. (__libc_multiple_libcs): New variable. (__libc_stack_end): New variable. (_dl_hwcap_mask): New variable. (_dl_important_hwcaps): New function. (_dl_show_auxv): Mark internal.
Diffstat (limited to 'linuxthreads/sysdeps/pthread/bits/libc-lock.h')
-rw-r--r-- | linuxthreads/sysdeps/pthread/bits/libc-lock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/bits/libc-lock.h b/linuxthreads/sysdeps/pthread/bits/libc-lock.h index 7d336bed52..db9a4718d3 100644 --- a/linuxthreads/sysdeps/pthread/bits/libc-lock.h +++ b/linuxthreads/sysdeps/pthread/bits/libc-lock.h @@ -131,6 +131,12 @@ typedef pthread_key_t __libc_key_t; } \ } +/* Sometimes we have to exit the block in the middle. */ +#define __libc_cleanup_end(DOIT) \ + if (_avail) { \ + _pthread_cleanup_pop_restore (&_buffer, (DOIT)); \ + } + /* Create thread-specific key. */ #define __libc_key_create(KEY, DESTRUCTOR) \ (__pthread_key_create != NULL ? __pthread_key_create (KEY, DESTRUCTOR) : 1) |