From: sos@prospect.com.ru (Sergey Okhapkin)
Subject: RE: Cygwinb19.dll
26 Jun 1998 13:17:39 -0700
Message-ID: <01BDA0EE.32821B50.cygnus.gnu-win32@sos>
To: "'GamerX_@usa.net'" <GamerX_@usa.net>,
        "'gnu-win32@cygnus.com'"
	 <gnu-win32@cygnus.com>,
        "'Edward Avis'" <EPA@datcon.co.uk>

Edward Avis wrote:
> AFAIK, Windows loads a _separate copy_ of each DLL for every program
> that uses it.  That's one of the reasons it uses so much memory.
>
> (Please tell me I'm wrong... :-( )

Windows "maps" a single copy of a dll into process's address space. .text 
segment of dll is sharable (read only) between all processws, .data segment 
of dll is mapped into process address space with copy-on-write semantics.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
