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 ?
January 08, 2024 linux dynamic library __gshared var | ||||
---|---|---|---|---|
| ||||
January 08, 2024 Re: linux dynamic library __gshared var | ||||
---|---|---|---|---|
| ||||
Posted in reply to d007 | 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 . |
Copyright © 1999-2021 by the D Language Foundation