freebsd-skq/lib/libpthread
Daniel Eischen 55613576f5 o Don't add a scope system thread's KSE to the list of available
KSEs when it's thread exits; allow the GC handler to do that.

o Make spinlock/spinlock critical regions.

The following were submitted by davidxu

  o Alow thr_switch() to take a null mailbox argument.

  o Better protect cancellation checks.

  o Don't set KSE specific data when creating new KSEs; rely on the
    first upcall of the KSE to set it.

  o Add the ability to set the maximum concurrency level and do this
    automatically.  We should have a way to enable/disable this with
    some sort of tunable because some applications may not want this
    to be the default.

  o Hold the scheduling lock across thread switch calls.

  o If scheduling of a thread fails, make sure to remove it from the list
    of active threads.

  o Better protect accesses to a joining threads when the target thread is
    exited and detached.

  o Remove some macro definitions that are now provided by <sys/kse.h>.

  o Don't leave the library in threaded mode if creation of the initial
    KSE fails.

  o Wakeup idle KSEs when there are threads ready to run.

  o Maintain the number of threads active in the priority queue.
2003-04-28 23:56:12 +00:00
..
arch o Don't add a scope system thread's KSE to the list of available 2003-04-28 23:56:12 +00:00
man MFlibc_r: add and document pthread_attr_get_np() function. 2003-03-03 22:40:20 +00:00
sys Protect thread errno from being changed while operating 2003-04-23 21:46:50 +00:00
test For now, build and install this as libkse instead of libpthread. 2002-12-08 22:43:31 +00:00
thread o Don't add a scope system thread's KSE to the list of available 2003-04-28 23:56:12 +00:00
Makefile Remove the %gs restoring hack (already commented out). 2003-04-25 01:31:56 +00:00