Safe Asynchronous Functions (was: Re: std.concurrency: Returning from spawned function )

Sean Kelly sean at invisibleduck.org
Sat Sep 11 07:57:02 PDT 2010


dsimcha Wrote:
> 
> I don't know the details of how TLS is implemented.  Would it be possible to reset
> all TLS data for a given thread?

Definitely for some platforms, possibly for all of them (perhaps requiring some trickery).  Look at thread_entryPoint in core.thread for a clue on how TLS is implemented.


More information about the Digitalmars-d mailing list