Passing parameters to thread functions
via Digitalmars-d
digitalmars-d at puremagic.com
Sat Aug 15 06:20:04 PDT 2015
On Saturday, 15 August 2015 at 12:46:22 UTC, Adam D. Ruppe wrote:
> core.thread lets you share stuff implicitly (which can get
> weird with two threads writing to it at the same time).
> std.concurrency requires you to be more explicit about it.
Do you know whether that's intentional? The entire page on
core.thread doesn't mention "shared" even once...
However I found this ancient ticket [2] on dsource.org, but it's
unclear whether this even refers to D2.
[1] http://dlang.org/phobos/core_thread.html
[2] http://www.dsource.org/projects/druntime/ticket/23
More information about the Digitalmars-d
mailing list