delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/26/13:17:39

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Cygwinb19.dll
26 Jun 1998 13:17:39 -0700 :
Message-ID: <01BDA0EE.32821B50.cygnus.gnu-win32@sos>
To: "'GamerX_ AT usa DOT net'" <GamerX_ AT usa DOT net>,
"'gnu-win32 AT cygnus DOT com'"
<gnu-win32 AT cygnus DOT com>,
"'Edward Avis'" <EPA AT datcon DOT co DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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