Re: linux dynamic library __gshared var

2024-01-08 Thread d007 via Digitalmars-d-learn
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 .

linux dynamic library __gshared var

2024-01-07 Thread d007 via Digitalmars-d-learn
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 ?