freebsd-skq/lib/libkse
deischen a5b13ff571 Use a generic way to back threads out of wait queues when handling
signals instead of having more intricate knowledge of thread state
within signal handling.

Simplify signal code because of above (by David Xu).

Use macros for libpthread usage of pthread_cleanup_push() and
pthread_cleanup_pop().  This removes some instances of malloc()
and free() from the semaphore and pthread_once() implementations.

When single threaded and forking(), make sure that the current
thread's signal mask is inherited by the forked thread.

Use private mutexes for libc and libpthread.  Signals are
deferred while threads hold private mutexes.  This fix also
breaks www/linuxpluginwrapper; a patch that fixes it is at
http://people.freebsd.org/~deischen/kse/linuxpluginwrapper.diff

Fix race condition in condition variables where handling a
signal (pthread_kill() or kill()) may not see a wakeup
(pthread_cond_signal() or pthread_cond_broadcast()).

In collaboration with:	davidxu
2004-12-18 18:07:37 +00:00
..
arch i386_set_ldt() is not available when running 32 bit binaries on amd64 2004-11-06 03:35:51 +00:00
support The caller is expected to set up PIC register corectly before 2003-09-05 18:08:19 +00:00
sys Use a generic way to back threads out of wait queues when handling 2004-12-18 18:07:37 +00:00
test libkse was renamed to libpthread. 2004-02-05 02:55:20 +00:00
thread Use a generic way to back threads out of wait queues when handling 2004-12-18 18:07:37 +00:00
Makefile For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00