Another strategy would be to forbit use of TLS with threads using the event loop. But this might break existing code.
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.
- Async or event library chmike via Digitalmars-d-learn
- Re: Async or event library chmike via Digitalmars-d-learn
- Re: Async or event libra... rikki cattermole via Digitalmars-d-learn
- Re: Async or event l... chmike via Digitalmars-d-learn
- Re: Async or eve... rikki cattermole via Digitalmars-d-learn
- Re: Async or event l... Dicebot via Digitalmars-d-learn
- Re: Async or eve... rikki cattermole via Digitalmars-d-learn
- Re: Async o... rikki cattermole via Digitalmars-d-learn
- Re: Asy... chmike via Digitalmars-d-learn