std.concurrency.receive() question
David Nadlinger
code at klickverbot.at
Sun Aug 11 06:58:56 PDT 2013
Hi Ruslan,
On Sunday, 11 August 2013 at 13:04:41 UTC, Ruslan Mullakhmetov
wrote:
> (OwnerTerminated) { running = false; }
This is a template function literal taking an argument named
"OwnerTerminated", not a function with an unnamed parameter of
type OwnerTerminated. Quite a sublime trap, admittedly.
In the future you might want to post similar questions to the
digitalmars.D.learn group instead.
Hope this helps,
David
More information about the Digitalmars-d
mailing list