Date: Sat, 29 Nov 2008 21:46:28 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libthr/thread thr_fork.c Message-ID: <200811292146.mATLke2N011240@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2008-11-29 21:46:28 UTC
FreeBSD src repository
Modified files:
lib/libthr/thread thr_fork.c
Log:
SVN rev 185456 on 2008-11-29 21:46:28Z by kib
Unlock the malloc() locks in the child process after fork(). This gives
us working malloc in the fork child of the multithreaded process.
Although POSIX requires that only async-signal safe functions shall be
operable after fork in multithreaded process, not having malloc lower
the quality of our implementation.
Tested by: rink
Discussed with: kan, davidxu
Reviewed by: kan
MFC after: 1 month
Revision Changes Path
1.10 +1 -0 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?200811292146.mATLke2N011240>
