* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap initialization
since it relies on the cygheap existing (even if it shouldn't matter do to dll initialization serialization).
This commit is contained in:
parent
45bc8c1f50
commit
166f3822e8
|
@ -1,3 +1,9 @@
|
||||||
|
2010-08-30 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
|
* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap
|
||||||
|
initialization since it relies on the cygheap existing (even if
|
||||||
|
it shouldn't matter do to dll initialization serialization).
|
||||||
|
|
||||||
2010-08-30 Corinna Vinschen <corinna@vinschen.de>
|
2010-08-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* posix.sgml (std-notes): Fix typos and incorrectnesses.
|
* posix.sgml (std-notes): Fix typos and incorrectnesses.
|
||||||
|
|
|
@ -702,12 +702,6 @@ dll_crt0_0 ()
|
||||||
|
|
||||||
SetErrorMode (SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
|
SetErrorMode (SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
|
||||||
|
|
||||||
/* Initialize signal processing here, early, in the hopes that the creation
|
|
||||||
of a thread early in the process will cause more predictability in memory
|
|
||||||
layout for the main thread. */
|
|
||||||
if (!dynamically_loaded)
|
|
||||||
sigproc_init ();
|
|
||||||
|
|
||||||
lock_process::init ();
|
lock_process::init ();
|
||||||
_impure_ptr = _GLOBAL_REENT;
|
_impure_ptr = _GLOBAL_REENT;
|
||||||
_impure_ptr->_stdin = &_impure_ptr->__sf[0];
|
_impure_ptr->_stdin = &_impure_ptr->__sf[0];
|
||||||
|
@ -746,6 +740,12 @@ dll_crt0_0 ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Initialize signal processing here, early, in the hopes that the creation
|
||||||
|
of a thread early in the process will cause more predictability in memory
|
||||||
|
layout for the main thread. */
|
||||||
|
if (!dynamically_loaded)
|
||||||
|
sigproc_init ();
|
||||||
|
|
||||||
user_data->threadinterface->Init ();
|
user_data->threadinterface->Init ();
|
||||||
|
|
||||||
_cygtls::init ();
|
_cygtls::init ();
|
||||||
|
|
Loading…
Reference in New Issue