TLS variable for only one thread

IchorDev zxinsworld at gmail.com
Sat Feb 15 07:53:17 UTC 2025


If I have a module-level variable, each thread sees a different 
value for it. But how would I create a module-level variable that 
can only be accessed by one thread? Do I have to give it its own 
module?


More information about the Digitalmars-d-learn mailing list