https://issues.dlang.org/show_bug.cgi?id=17476

--- Comment #8 from Vladimir Panteleev <thecybersha...@gmail.com> ---
(In reply to Mathias Lang from comment #7)
> How can
> "foobar" be printed twice if it's only set for one thread ?

Because both times "foobar" is written are done from the same (main) thread.
parallel() can (and does) reuse threads.

--

Reply via email to