freebsd-skq/lib/libkse/sys
delphij 55c4c85b99 Change the spin lock logic to a reasonable one. We should spin when
the lock is held by other thread, but not when nobody owns it.  According
to deischen@, this part of code will never be hit in our threads
library, since it does not use locks without wait/wakeup functions.

Spotted by:	mingyanguo via ChinaUnix.net forum
Reviewed by:	deischen
2005-02-27 17:45:55 +00:00
..
lock.c Change the spin lock logic to a reasonable one. We should spin when 2005-02-27 17:45:55 +00:00
lock.h Add the ability to reinitialize libpthread's internal FIFO-queueing 2003-11-04 20:01:38 +00:00
Makefile.inc
thr_error.c Use a generic way to back threads out of wait queues when handling 2004-12-18 18:07:37 +00:00