Subject: RE: Cygwinb19.dll
From: [email-masked] (Sergey Okhapkin)

26 Jun 1998 13:17:39 -0700
Message-ID: <01BDA0EE.32821B50.cygnus.gnu-win32@sos>
To: "[email-masked]'" <[email-masked]>,
        "[email-masked]'"
	 <[email-masked]>,
        "'Edward Avis'" <[email-masked]>

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
"[email-masked]" with one line of text: "help".