From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: Re: DLL init patch for loading cygwin DLL from MSVC app 28 Oct 1998 19:57:57 -0800 Message-ID: References: <19981028220239 DOT A20406 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Christopher Faylor Cc: cygwin32-developers AT cygnus DOT com, noer AT cygnus DOT com On Wed, 28 Oct 1998, Christopher Faylor wrote: > > > > - the first problem is that the global constructors are called multiple > > times; > > Why is this? Who else is calling the cygwin constructors? First one called in dll_crt0 if we choose to use it; then again in initOneDll. > > - then the initialization hangs in sigproc_init() -- in makethread; > > That would be an indication of makethread not receiving the "thread ready" > event. I'm not sure why this would happen in this context unless it is > a malloc problem, possibly. That's the one, but I can't figure out why it's doing that. > We're anticipating that binary compatibility will break in B21 anyway, so this > will be a good time to get this done. I've way over my head here, so I'll just wait for you guys to do the right thing ... Mumit