delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/11/06/04:51:28

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: dll initialization
6 Nov 1998 04:51:28 -0800 :
Message-ID: <01BE0956.952F6020.cygnus.cygwin32.developers@sos>
Cc: "'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>

Mumit Khan wrote:
> I'm out of my depth here, so someone else will have to figure out how the
> innards can be "initialized" multiple times without running into this
> problem. We *have* to fix this in the long run, so might as well start
> now.

Cygwin.dll initialization should be performed in two steps:

1. Main initialization (not depend from user_data) performed by dll entry point.
2. Initialization depend of user_data, performed by application's starup code.

> non-cygwin DLLs from cygwin and non-cygwin apps). My apologies for the 
> time you've probably had to waste tracking this down.
> 

It tooks 10 minutes only to understand the problem :-)

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Piscataway, NJ


- Raw text -


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