delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin-developers AT sources DOT redhat DOT com |
Message-ID: | <024e01c0ec38$2d913a70$0200a8c0@lifelesswks> |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | <cygwin-developers AT cygwin DOT com> |
References: | <016201c0ebfd$f8036840$0200a8c0 AT lifelesswks> <20010603094842 DOT E23205 AT redhat DOT com> <023c01c0ec36$7da728f0$0200a8c0 AT lifelesswks> <20010603101518 DOT G23205 AT redhat DOT com> |
Subject: | Re: dlsym discussion.. |
Date: | Mon, 4 Jun 2001 00:19:18 +1000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
X-OriginalArrivalTime: | 03 Jun 2001 14:10:33.0343 (UTC) FILETIME=[F40FA8F0:01C0EC36] |
----- Original Message ----- From: "Christopher Faylor" <cgf AT redhat DOT com> To: <cygwin-developers AT cygwin DOT com> Sent: Monday, June 04, 2001 12:15 AM Subject: Re: dlsym discussion.. > On Mon, Jun 04, 2001 at 12:07:13AM +1000, Robert Collins wrote: > >If by, dll_entry() you mean inserting some custom notification code in > >every cygwin compiled dll to allow us to be told as dll's load, that has > >the downside of not working with any existing or non-cygwin dll, > >something that I'd rather avoid. > > dll_entry is the DLL entry point in cygwin that gets called every time a > thread or process is created or when the cygwin dll is initially loaded. > I initially thought it also got called whenever a dll is loaded but I > think I'm wrong on that one. I think so :}. the "dllMain" function gets called on process attach and detach, and also on thread attach and detach. dll loading doesn't trigger dllMain, unless a dll is dependant on cygwin1.dll, and the process that uses that dll _isn't_ dependant on cygwin1.dll - in which case, dlsym is a moot point really(). Rob > > cgf >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |