delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/03/21:09:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 3 Jun 2001 21:04:48 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin initialization, was cygrunsrv fails to start
Message-ID: <20010603210448.B30692@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F124WXSZ3Zs3Mpw6yL20000e17a AT hotmail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <F124WXSZ3Zs3Mpw6yL20000e17a@hotmail.com>; from karlm30@hotmail.com on Sun, Jun 03, 2001 at 11:38:12AM -0700

On Sun, Jun 03, 2001 at 11:38:12AM -0700, Karl M wrote:
>I'm looking for ideas on how to further debug this problem. I'll take any 
>thoughts or suggestions.
>
>I would like to understand the sequence of events when the cygwin1.dll is 
>first loaded.
>
>This happens in response to the first .exe image that references it, right?
>
>Is there any "automatic" initialization of the cygwin1.dll, or does it wait 
>until the first posix call from the .exe image?

There is nothing special about cygwin1.dll.  It's like any other DLL.

The main initialization happens before main is called in the dll_crt0 and
dll_crt0_1 routines.  dll_crt0_1 calls main.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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