]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make more code be protected by internal mutex, and now it is fork-safe, in
authordavidxu <davidxu@FreeBSD.org>
Sun, 17 Feb 2013 02:52:42 +0000 (02:52 +0000)
committerdavidxu <davidxu@FreeBSD.org>
Sun, 17 Feb 2013 02:52:42 +0000 (02:52 +0000)
commit67d28f7aa549ac503535c4f0c06a55fb6e7a1a63
treecee2735f0c925240cd29e26a81383257bfb3793e
parenta57e06a00fbd4f164ab76d450ae9dd7f852d133a
Make more code be protected by internal mutex, and now it is fork-safe, in
error case, the file exclusive lock is now released as soon as possible,
in previous code, child process can still hold the exclusive lock.
lib/libc/gen/sem_new.c