Date: Mon, 1 Dec 2008 21:00:25 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libthr/thread thr_fork.c Message-ID: <200812012100.mB1L0dJR021358@repoman.freebsd.org>
index | next in thread | raw e-mail
kan 2008-12-01 21:00:25 UTC
FreeBSD src repository
Modified files:
lib/libthr/thread thr_fork.c
Log:
SVN rev 185531 on 2008-12-01 21:00:25Z by kan
Invoke _rtld_atfork_post earlier, before we reinitialize rtld locks
by switching into single-thread mode.
libthr ignores broken use of lock bitmaps used by default rtld locking
implementation, this in turn turns lock handoff in _rtld_thread_init
into NOP. This in turn makes child processes of forked multi-threaded
programs to run with _thr_signal_block still in effect, with most
signals blocked.
Reported by: phk, kib
Revision Changes Path
1.11 +4 -3 src/lib/libthr/thread/thr_fork.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812012100.mB1L0dJR021358>
