delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/28/19:57:57

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: <Pine.SUN.3.93.981028212347.29430E-100000.cygnus.cygwin32.developers@modi.xraylith.wisc.edu>
References: <19981028220239 DOT A20406 AT cygnus DOT com>
Mime-Version: 1.0
To: Christopher Faylor <cgf AT cygnus DOT com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019