New to D - playing with Thread and false Sharing
Nicholas Wilson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Aug 20 18:22:57 PDT 2015
On Thursday, 20 August 2015 at 20:01:58 UTC, tony288 wrote:
> On Thursday, 20 August 2015 at 15:37:35 UTC, Dejan Lekic wrote:
>> [...]
>
> Thanks, I changed the code and the previous one was already
> using shared.
> import std.stdio;
> import core.time;
> import core.thread;
>
> [...]
Keep in mind java may be using green threads as opposed to kernel
threads.
The equivalent in D is a Fiber.
More information about the Digitalmars-d-learn
mailing list