Async or event library

chmike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 5 01:28:36 PDT 2016


I would like to add that the switchable TLS is only a half backed 
solution. It would't work in a multi core context where threads 
are truly executing in parallel. Two such threads might get the 
same TLS context which would invalidate its implicit predicate.

Another strategy would be to forbit use of TLS with threads using 
the event loop. But this might break existing code.


More information about the Digitalmars-d-learn mailing list