[phobos] State of std.parallelism unit tests
Sean Kelly
sean at invisibleduck.org
Wed Jun 1 15:04:14 PDT 2011
On Jun 1, 2011, at 5:24 AM, David Simcha wrote:
>
> I'm not sure this is supposed to work. std.parallelism uses thread-local (i.e. physical thread-local) storage in a few places. I'm not even sure how threads and fibers are supposed to interact.
If you use a thread-local variable in a fiber it will be the one local to the executing thread. So at the moment, moving an executing fiber between threads is inadvisable. It's fine to let it finish and restart it on another thread though.
More information about the phobos
mailing list