* dcrt0.cc (dll_crt0_0): Move user_data->{resourcelocks,threadinterface}

initialization here from dll_crt0_1.
(dll_crt0_1): See above.
This commit is contained in:
Christopher Faylor 2006-04-05 16:42:27 +00:00
parent 3728ca6538
commit 0ce97eb453
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-04-05 Christopher Faylor <cgf@timesys.com>
* dcrt0.cc (dll_crt0_0): Move user_data->{resourcelocks,threadinterface}
initialization here from dll_crt0_1.
(dll_crt0_1): See above.
2006-04-04 Corinna Vinschen <corinna@vinschen.de>
* net.cc (fdsock): Raise default SO_RCVBUF/SO_SNDBUF buffer sizes to

View File

@ -755,6 +755,9 @@ dll_crt0_0 ()
}
}
user_data->resourcelocks->Init ();
user_data->threadinterface->Init ();
_cygtls::init ();
/* Initialize events */
@ -792,8 +795,6 @@ dll_crt0_1 (char *)
small_printf ("cmalloc returns %p\n", cmalloc (HEAP_STR, n));
#endif
user_data->resourcelocks->Init ();
user_data->threadinterface->Init ();
ProtectHandle (hMainProc);
ProtectHandle (hMainThread);