mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 03:20:28 +08:00
* 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:
parent
3728ca6538
commit
0ce97eb453
@ -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>
|
2006-04-04 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* net.cc (fdsock): Raise default SO_RCVBUF/SO_SNDBUF buffer sizes to
|
* net.cc (fdsock): Raise default SO_RCVBUF/SO_SNDBUF buffer sizes to
|
||||||
|
@ -755,6 +755,9 @@ dll_crt0_0 ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
user_data->resourcelocks->Init ();
|
||||||
|
user_data->threadinterface->Init ();
|
||||||
|
|
||||||
_cygtls::init ();
|
_cygtls::init ();
|
||||||
|
|
||||||
/* Initialize events */
|
/* Initialize events */
|
||||||
@ -792,8 +795,6 @@ dll_crt0_1 (char *)
|
|||||||
small_printf ("cmalloc returns %p\n", cmalloc (HEAP_STR, n));
|
small_printf ("cmalloc returns %p\n", cmalloc (HEAP_STR, n));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
user_data->resourcelocks->Init ();
|
|
||||||
user_data->threadinterface->Init ();
|
|
||||||
ProtectHandle (hMainProc);
|
ProtectHandle (hMainProc);
|
||||||
ProtectHandle (hMainThread);
|
ProtectHandle (hMainThread);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user