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.

_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to