* dcrt0.cc (_dll_crt0): Move strace.microseconds initialization to after
pthread initialization. (dll_crt0_1): i.e., here.
This commit is contained in:
parent
d193a9fe57
commit
b9621e8d94
@ -1,3 +1,9 @@
|
|||||||
|
2003-07-30 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* dcrt0.cc (_dll_crt0): Move strace.microseconds initialization to
|
||||||
|
after pthread initialization.
|
||||||
|
(dll_crt0_1): i.e., here.
|
||||||
|
|
||||||
2003-07-28 Christopher Faylor <cgf@redhat.com>
|
2003-07-28 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* fhandler_base.cc (fhandler_base::readv): Rework to properly return
|
* fhandler_base.cc (fhandler_base::readv): Rework to properly return
|
||||||
|
@ -635,6 +635,10 @@ dll_crt0_1 ()
|
|||||||
if (!user_data->forkee)
|
if (!user_data->forkee)
|
||||||
pthread::init_mainthread ();
|
pthread::init_mainthread ();
|
||||||
|
|
||||||
|
#ifdef DEBUGGING
|
||||||
|
strace.microseconds ();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Initialize debug muto, if DLL is built with --enable-debugging.
|
/* Initialize debug muto, if DLL is built with --enable-debugging.
|
||||||
Need to do this before any helper threads start. */
|
Need to do this before any helper threads start. */
|
||||||
debug_init ();
|
debug_init ();
|
||||||
@ -849,9 +853,6 @@ _dll_crt0 ()
|
|||||||
initial_env ();
|
initial_env ();
|
||||||
char zeros[sizeof (fork_info->zero)] = {0};
|
char zeros[sizeof (fork_info->zero)] = {0};
|
||||||
static NO_COPY STARTUPINFO si;
|
static NO_COPY STARTUPINFO si;
|
||||||
#ifdef DEBUGGING
|
|
||||||
strace.microseconds ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
main_environ = user_data->envptr;
|
main_environ = user_data->envptr;
|
||||||
*main_environ = NULL;
|
*main_environ = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user