jhb e489a35ce4 MFC: Various uthread fixes:
- Delay setting wakeup time until after poll array has been allocated.
  Blocking on the malloc spinlock would cause the select timeout to be lost.
  (uthread_select.c 1.22)
- Delay unblocking signal and restoring process signal mask until the
  thread signal mask has been updated to avoid stack overflow during signal
  bursts.

  Don't block signal forever if no threads can currently handle signal.

  Check for pending signal after direct invocation of signal handler.
  (uthread_select.c 1.47)
- Backout unblocking of signal if no threads can currently handle it.
  The check for pending signal after direct invocation of signal handler
  is sufficient.
  (uthread_select.c 1.48)

Approved by:	re (mux, bmah)
2006-10-23 20:07:45 +00:00
..
2003-01-24 01:46:30 +00:00
2006-10-23 20:07:45 +00:00