Date: Thu, 8 Apr 2004 16:16:21 -0700 (PDT) From: Daniel Eischen <deischen@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/thread thr_kern.c Message-ID: <200404082316.i38NGLgd016991@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404082316.i38NGLgd016991>
