Date: Thu, 19 Mar 2009 10:32:25 +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: <200903191032.n2JAWdfW034656@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2009-03-19 10:32:25 UTC
FreeBSD src repository
Modified files:
lib/libthr/thread thr_fork.c
Log:
SVN rev 190025 on 2009-03-19 10:32:25Z by kib
Forcibly unlock the malloc() locks in the child process after fork(),
by temporary pretending that the process is still multithreaded.
Current malloc lock primitives do nothing for singlethreaded process.
Reviewed by: davidxu, deischen
Revision Changes Path
1.13 +4 -1 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?200903191032.n2JAWdfW034656>
