This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/nptl/sysdeps/pthread pthread_cond_timedwait.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 2 Sep 2004 18:48:37 -0000
- Subject: libc/nptl/sysdeps/pthread pthread_cond_timedwait.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2004-09-02 18:48:37
Modified files:
nptl/sysdeps/pthread: pthread_cond_timedwait.c
Log message:
(__pthread_cond_timedwait): Increment __nwaiters in the beginning,
decrement it when leaving. If pthread_cond_destroy has been called
and this is the last waiter, signal pthread_cond_destroy caller.
Read clock type from the least significant bits of __nwaiters instead
of __clock.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/pthread/pthread_cond_timedwait.c.diff?cvsroot=glibc&r1=1.21&r2=1.22