freebsd-dev/lib/libkse
Xin LI 12927a8513 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
..
arch Bring in a more healthy version of the libpthread for arm, which uses 2005-02-26 19:06:49 +00:00
support The caller is expected to set up PIC register corectly before 2003-09-05 18:08:19 +00:00
sys Change the spin lock logic to a reasonable one. We should spin when 2005-02-27 17:45:55 +00:00
test libkse was renamed to libpthread. 2004-02-05 02:55:20 +00:00
thread Somewhere along the line, tick accumulation for SA threads was 2005-02-18 16:07:05 +00:00
Makefile For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00