mirror of git://sourceware.org/git/glibc.git
* internals.h (strict __pthread_descr_struct): Add p_sem_avail. * semaphore.c: Handle spurious wakeups. * sysdeps/pthread/pthread.h: Add back PTHREAD_MUTX_FAST_NP as an alias for PTHREAD_MUTEX_ADAPTIVE_NP for source code compatibility. * pthread.c (__pthread_set_own_extricate): Use THREAD_GETMEM. (__pthread_wait_for_restart): Likewise. * condvar.c (pthread_cond_wait): Also check whether thread is cancelable before aborting loop. (pthread_cond_timedwait): Likewise. |
||
---|---|---|
.. | ||
alpha | ||
arm | ||
i386 | ||
ia64 | ||
m68k | ||
mips | ||
powerpc | ||
pthread | ||
sh | ||
sparc | ||
unix/sysv/linux |