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/linuxthreads spinlock.c


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sources.redhat.com	2002-08-29 03:32:19

Modified files:
	linuxthreads   : spinlock.c 

Log message:
	(__pthread_lock): Fix spurious wakeup
	handling.  Don't clear lowest bit of list pointer as sign the thread
	is still on the wait list.  Don't restart after spurious wakeup
	with spinning to get the lock.
	(__pthread_unlock): Take set lowest bit into account when handling
	pointer to list elements.


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