* 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:
Richard Henderson 2004-09-06 01:12:02 +00:00
parent 418dfb124c
commit 42d86dd6c0
2 changed files with 29 additions and 18 deletions

View File

@ -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>
* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.

View File

@ -137,8 +137,6 @@ __LABEL($syscall_error) \
# define CDISABLE jsr ra, __local_disable_asynccancel; ldgp ra, 0(gp)
# endif
#endif
# if defined IS_IN_libpthread || !defined NOT_IN_libc
# ifndef __ASSEMBLER__
extern int __local_multiple_threads attribute_hidden;
@ -162,3 +160,10 @@ extern int __local_multiple_threads attribute_hidden;
ldl reg, MULTIPLE_THREADS_OFFSET($0)
# endif
# endif
#else
# define SINGLE_THREAD_P (1)
# define NO_CANCELLATION 1
#endif