diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-05-03 22:40:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-05-03 22:40:52 +0000 |
commit | 27b0258934adb212b760ead998d51f8005224abc (patch) | |
tree | 227015d0044b530f0bdf169f2088f956ef28fcaa /linuxthreads/semaphore.c | |
parent | 4bb8fc33018de0b3519b1069fa87d670f71249dc (diff) | |
download | glibc-27b0258934adb212b760ead998d51f8005224abc.tar.gz glibc-27b0258934adb212b760ead998d51f8005224abc.tar.xz glibc-27b0258934adb212b760ead998d51f8005224abc.zip |
Update.
2004-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add libc_hidden_proto. Define to __GI___libm_error_support for assembly going into libc.so. * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add libc_hidden_def. * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define. * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove. * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno if USE___THREAD.
Diffstat (limited to 'linuxthreads/semaphore.c')
-rw-r--r-- | linuxthreads/semaphore.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linuxthreads/semaphore.c b/linuxthreads/semaphore.c index 0793a5f712..017539e176 100644 --- a/linuxthreads/semaphore.c +++ b/linuxthreads/semaphore.c @@ -22,6 +22,7 @@ #include "restart.h" #include "queue.h" #include <shlib-compat.h> +#include <not-cancel.h> int __new_sem_init(sem_t *sem, int pshared, unsigned int value) { @@ -168,8 +169,8 @@ int __new_sem_post(sem_t * sem) } request.req_kind = REQ_POST; request.req_args.post = sem; - TEMP_FAILURE_RETRY(__libc_write(__pthread_manager_request, - (char *) &request, sizeof(request))); + TEMP_FAILURE_RETRY(write_not_cancel(__pthread_manager_request, + (char *) &request, sizeof(request))); } return 0; } |