delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/02/22/19:53:52

From: cgf AT bbc DOT com (Christopher Faylor)
Subject: "SHARED" attribute on section in .DLL?
22 Feb 1998 19:53:52 -0800 :
Message-ID: <EotC31.Jq8.cygnus.cygwin32.developers@bbc.com>
Reply-To: cgf AT bbc DOT com
To: cygwin32-developers AT cygnus DOT com

I got a book to read on advanced windows programming today:
"Advanced Windows" by Jeffrey Richter.  This book was recommended by
a number of people in the win32 programming book.

It mentions that data can be shared between dlls if a dll puts data
that is intended to be shared in a section which has a "shared" attribute.
The book claims that sections can have the following attributes:
READ, WRITE, EXECUTE, SHARED.

Does anyone know if that is possible to do with ld?  If it is, we
could probably get rid of some of the shared memory initialization and
store the process table here.

I looked through the sources but didn't see anything that was immediately
obvious.
-- 
http://www.bbc.com/	cgf AT bbc DOT com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."

- Raw text -


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