www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - linux dynamic library __gshared var

reply d007 <d007 gmail.com> writes:
I just notice the __gshared is cross process shared.   I want a 
var exits in one process, but shared for multi thread with atomic 
for __gshared library.  how can I do this with d ?
Jan 07
parent d007 <d007 gmail.com> writes:
On Monday, 8 January 2024 at 06:12:16 UTC, d007 wrote:
 I just notice the __gshared is cross process shared.   I want a 
 var exits in one process, but shared for multi thread with 
 atomic for __gshared library.  how can I do this with d ?
my bad, is is process only .
Jan 08