opnsense-src/lib/libpthread/sys
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
..
lock.c
lock.h
Makefile.inc Move the machine specific files from sys/Makefile.inc and put them 2003-06-23 04:28:31 +00:00
thr_error.c