This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/nptl/sysdeps/pthread pthread_cond_broadcast.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 3 Jun 2004 15:55:33 -0000
- Subject: libc/nptl/sysdeps/pthread pthread_cond_broadcast.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2004-06-03 15:55:33
Modified files:
nptl/sysdeps/pthread: pthread_cond_broadcast.c
Log message:
(FUTEX_CMP_REQUEUE): Define.
(__pthread_cond_broadcast): Set __futex to 2 * __total_seq.
Use FUTEX_CMP_REQUEUE operation instead of FUTEX_REQUEUE.
Pass __futex value from before the unlock and __futex address instead
of address of low 32-bits of __wakeup_seq to futex syscall.
Fallback to FUTEX_WAKE all on any errors.