mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user