cvs commit: src/lib/libpthread/thread thr_kern.c

Brian Somers brian at FreeBSD.org
Tue Jan 3 07:34:28 PST 2006


brian       2006-01-03 15:34:28 UTC

  FreeBSD src repository

  Modified files:
    lib/libpthread/thread thr_kern.c 
  Log:
  For the ``#ifdef NOTYET'' code that allows calling non-async-safe
  functions in the child after a fork() from a threaded process,
  use __sys_setprocmask() rather than setprocmask() to keep our
  signal handling sane.  Without this fix, signals are essentially
  ignored in said child and things such as protection violations
  result in an endless busy loop.
  
  Reviewed by:    deischen
  
  Revision  Changes    Path
  1.120     +1 -1      src/lib/libpthread/thread/thr_kern.c


More information about the cvs-src mailing list