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.