Fiber Local Storage

Martin Nowak code at dawg.eu
Wed Aug 14 22:46:12 PDT 2013


On Friday, 26 July 2013 at 04:30:18 UTC, Manu wrote:
> Is there an FLS implementation floating around?
> If not, it's probably something that should be considered for 
> std.thread.

- There is WorkerLocalStorage in std.parallelism Tasks.
- Apparently you can easily capture variables in the context of 
the delegate.
- If you use thread affinity when executing Fibers you can access 
TLS.


More information about the Digitalmars-d mailing list