On Friday, 20 April 2012 at 18:09:37 UTC, Sean Kelly wrote:
Ah, coroutines would actually want to share TLS with the executing thread? That's good to know.
In my case that's definitely useful as, like I said, I'm not trying to express any parallelism here and don't really want to take on the burden of synchronizing the data structures :) I'm merely using coroutines as a handy way to save and restore state, the alternative being to do it all manually at every yield point (yikes!).

Reply via email to