freebsd-nq/lib/libkse
Daniel Eischen 6dee371a55 Add a couple asserts to pthread_cond_foo to ensure the (low-level)
lock level is 0.  Thus far, the threads implementation doesn't use
mutexes or condition variables so the lock level should be 0.

Save the return value when trying to schedule a new thread and
use this to return an error from pthread_create().

Change the max sleep time for an idle KSE to 1 minute from 2 minutes.

Maintain a count of the number of KSEs within a KSEG.

With these changes scope system threads seem to work, but heavy
use of them crash the kernel (supposedly VM bugs).
2003-04-22 20:28:33 +00:00
..
arch/i386 Sorry folks; I accidentally committed a patch from what I was working 2003-04-18 07:09:43 +00:00
sys Sorry folks; I accidentally committed a patch from what I was working 2003-04-18 07:09:43 +00:00
test For now, build and install this as libkse instead of libpthread. 2002-12-08 22:43:31 +00:00
thread Add a couple asserts to pthread_cond_foo to ensure the (low-level) 2003-04-22 20:28:33 +00:00
Makefile Add an i386-specifc hack to always set %gs. There still seems 2003-04-21 04:02:56 +00:00