digitalmars.D.learn - linux dynamic library __gshared var
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
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