* dcrt0.cc (hMainProc): Initialize to useful value for use when dll is

dynamically loaded.
(shared_info::initialize): Don't initialize user stuff if myself doesn't exit.
This commit is contained in:
Christopher Faylor
2003-10-08 21:40:33 +00:00
parent e9ea9dec2c
commit ea4980efe1
3 changed files with 10 additions and 2 deletions

View File

@@ -220,7 +220,8 @@ shared_info::initialize ()
if (!cygheap)
{
cygheap_init ();
cygheap->user.init ();
if (myself)
cygheap->user.init ();
}
heap_init ();