* thread.cc (pthread::atforkprepare): Call MT_INTERFACE->fixup_before_fork at
the end of atforkprepare.
This commit is contained in:
parent
2b2cc75f6b
commit
c7f060d0da
|
@ -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>
|
2004-03-29 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* net.cc (wsock_event::wait): Change scope of local "len" variable.
|
* net.cc (wsock_event::wait): Change scope of local "len" variable.
|
||||||
|
|
|
@ -1941,8 +1941,6 @@ pthread::cancel (pthread_t thread)
|
||||||
void
|
void
|
||||||
pthread::atforkprepare (void)
|
pthread::atforkprepare (void)
|
||||||
{
|
{
|
||||||
MT_INTERFACE->fixup_before_fork ();
|
|
||||||
|
|
||||||
callback *cb = MT_INTERFACE->pthread_prepare;
|
callback *cb = MT_INTERFACE->pthread_prepare;
|
||||||
while (cb)
|
while (cb)
|
||||||
{
|
{
|
||||||
|
@ -1951,6 +1949,8 @@ pthread::atforkprepare (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
__fp_lock_all ();
|
__fp_lock_all ();
|
||||||
|
|
||||||
|
MT_INTERFACE->fixup_before_fork ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue