This is the mail archive of the glibc-cvs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libc/nptl/sysdeps/pthread pthread_cond_wait.c


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sources.redhat.com	2004-09-02 18:49:34

Modified files:
	nptl/sysdeps/pthread: pthread_cond_wait.c 

Log message:
	(__condvar_cleanup): Decrement __nwaiters.  If pthread_cond_destroy
	has been called and this is the last waiter, signal
	pthread_cond_destroy caller and avoid using the pthread_cond_t
	structure after unlock.
	(__pthread_cond_wait): 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/pthread/pthread_cond_wait.c.diff?cvsroot=glibc&r1=1.15&r2=1.16


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]