* thread.cc (pthread::atforkprepare): Call MT_INTERFACE->fixup_before_fork at

the end of atforkprepare.
This commit is contained in:
Christopher Faylor 2004-03-29 15:14:07 +00:00
parent 2b2cc75f6b
commit c7f060d0da
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-03-29 Thomas Pfaff <tpfaff@gmx.net>
* thread.cc (pthread::atforkprepare): Call
MT_INTERFACE->fixup_before_fork at the end of atforkprepare.
2004-03-29 Corinna Vinschen <corinna@vinschen.de>
* net.cc (wsock_event::wait): Change scope of local "len" variable.

View File

@ -1941,8 +1941,6 @@ pthread::cancel (pthread_t thread)
void
pthread::atforkprepare (void)
{
MT_INTERFACE->fixup_before_fork ();
callback *cb = MT_INTERFACE->pthread_prepare;
while (cb)
{
@ -1951,6 +1949,8 @@ pthread::atforkprepare (void)
}
__fp_lock_all ();
MT_INTERFACE->fixup_before_fork ();
}
void