mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P): Move definition inside libpthread, libc, librt check. Provide definition for rtld.
2005-09-05 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P): Move definition inside libpthread, libc, librt check. Provide definition for rtld. lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On success return actual return value from the syscall, not 0. Add __mutex field.
This commit is contained in:
parent
418dfb124c
commit
42d86dd6c0
|
|
@ -1,3 +1,9 @@
|
||||||
|
2005-09-05 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
|
||||||
|
Move definition inside libpthread, libc, librt check. Provide
|
||||||
|
definition for rtld.
|
||||||
|
|
||||||
2004-09-02 Ulrich Drepper <drepper@redhat.com>
|
2004-09-02 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
|
* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
|
||||||
|
|
|
||||||
|
|
@ -137,9 +137,7 @@ __LABEL($syscall_error) \
|
||||||
# define CDISABLE jsr ra, __local_disable_asynccancel; ldgp ra, 0(gp)
|
# define CDISABLE jsr ra, __local_disable_asynccancel; ldgp ra, 0(gp)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif
|
# if defined IS_IN_libpthread || !defined NOT_IN_libc
|
||||||
|
|
||||||
#if defined IS_IN_libpthread || !defined NOT_IN_libc
|
|
||||||
# ifndef __ASSEMBLER__
|
# ifndef __ASSEMBLER__
|
||||||
extern int __local_multiple_threads attribute_hidden;
|
extern int __local_multiple_threads attribute_hidden;
|
||||||
# define SINGLE_THREAD_P \
|
# define SINGLE_THREAD_P \
|
||||||
|
|
@ -151,7 +149,7 @@ extern int __local_multiple_threads attribute_hidden;
|
||||||
ldah reg, __local_multiple_threads(gp) !gprelhigh; \
|
ldah reg, __local_multiple_threads(gp) !gprelhigh; \
|
||||||
ldl reg, __local_multiple_threads(reg) !gprellow
|
ldl reg, __local_multiple_threads(reg) !gprellow
|
||||||
# endif
|
# endif
|
||||||
#else
|
# else
|
||||||
# ifndef __ASSEMBLER__
|
# ifndef __ASSEMBLER__
|
||||||
# define SINGLE_THREAD_P \
|
# define SINGLE_THREAD_P \
|
||||||
__builtin_expect (THREAD_GETMEM (THREAD_SELF, \
|
__builtin_expect (THREAD_GETMEM (THREAD_SELF, \
|
||||||
|
|
@ -161,4 +159,11 @@ extern int __local_multiple_threads attribute_hidden;
|
||||||
call_pal PAL_rduniq; \
|
call_pal PAL_rduniq; \
|
||||||
ldl reg, MULTIPLE_THREADS_OFFSET($0)
|
ldl reg, MULTIPLE_THREADS_OFFSET($0)
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
# define SINGLE_THREAD_P (1)
|
||||||
|
# define NO_CANCELLATION 1
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue