diff options
author | kib <kib@FreeBSD.org> | 2008-11-29 21:46:28 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-11-29 21:46:28 +0000 |
commit | 58f888b28c6991ea1def089a22338da9dec097c3 (patch) | |
tree | e7d65ff8625eb6c6eb857a67c7cc3ccf4c921bd0 /lib/libc/stdlib/strtoll.c | |
parent | 3e94b73b94aaf0d6f7e3baf4830e4185f90142fa (diff) | |
download | FreeBSD-src-58f888b28c6991ea1def089a22338da9dec097c3.zip FreeBSD-src-58f888b28c6991ea1def089a22338da9dec097c3.tar.gz |
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
Diffstat (limited to 'lib/libc/stdlib/strtoll.c')
0 files changed, 0 insertions, 0 deletions