cvs commit: src/lib/libc_r/uthread uthread_select.c uthread_sig.c

John Baldwin jhb at FreeBSD.org
Mon Oct 23 20:07:56 UTC 2006


jhb         2006-10-23 20:07:46 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libc_r/uthread   uthread_select.c uthread_sig.c 
  Log:
  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)
  
  Revision   Changes    Path
  1.21.14.1  +20 -20    src/lib/libc_r/uthread/uthread_select.c
  1.46.10.1  +38 -17    src/lib/libc_r/uthread/uthread_sig.c


More information about the cvs-src mailing list