global data in shared libraries

Roger Wells ROGER.K.WELLS@saic.com
Tue Sep 18 05:13:00 GMT 2001


Hi,

What is the procedure when linking a shared library to get a piece of data
(e.g. a handle to a hardware resource) to be shared by all processes that
link to the shared library?

Any help will be appreciated.

Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger@mtg.saic.com




More information about the Gcc mailing list