diff options
author | deischen <deischen@FreeBSD.org> | 2003-11-04 19:49:56 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-11-04 19:49:56 +0000 |
commit | 96918b9811a81aec1bc2aaee34a0db88044994ee (patch) | |
tree | a33d6c63283c302eaad019257473e23862fdb6d0 /lib/libkse | |
parent | 07928289515debef8667077b7faedd939af2a8f0 (diff) | |
download | FreeBSD-src-96918b9811a81aec1bc2aaee34a0db88044994ee.zip FreeBSD-src-96918b9811a81aec1bc2aaee34a0db88044994ee.tar.gz |
Externalize malloc's spinlock so that a thread library can take
it around an application's fork() call. Our new thread libraries
(libthr, libpthread) can now have threads running while another
thread calls fork(). In this case, it is possible for malloc
to be left in an inconsistent state in the child. Our thread
libraries, libpthread in particular, need to use malloc internally
after a fork (in the child).
Reviewed by: davidxu
Diffstat (limited to 'lib/libkse')
0 files changed, 0 insertions, 0 deletions