On Saturday, 5 May 2012 at 18:46:32 UTC, David Nadlinger wrote:
On Saturday, 5 May 2012 at 08:45:21 UTC, Tongzhou Li wrote:
I wrote: http://codepad.org/K4xQOREZ

Besides the other things mentioned, you also need to lock the monitor associated with a condition before notifying/waiting (cf. a recent discussion on the druntime list).

David

Why? There's no data races...

Reply via email to