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

Daniel Eischen deischen at FreeBSD.org
Thu Apr 8 16:16:22 PDT 2004


deischen    2004/04/08 16:16:21 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/thread thr_kern.c 
  Log:
  After forking and initializing the library to single-threaded
  mode (where the forked thread is the one and only thread and
  is marked as system scope), set the system scope flag before
  initializing the signal mask.  This prevents trying to use
  internal locks that haven't yet been initialized.
  
  Reported by:    Dan Nelson <dnelson at allantgroup.com>
  Reviewed by:    davidxu
  
  Revision  Changes    Path
  1.106     +3 -2      src/lib/libpthread/thread/thr_kern.c


More information about the cvs-src mailing list