[Issue 16074] std.concurrency receive wont work

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed May 25 09:58:38 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16074

--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Steven Schveighoffer from comment #1)
> You can work around by renaming the import:
> 
> import std.concurrency: spawn, con_recv = receive;

Alternatively:

import con = std.concurrency;

...

con.receive( ...

...

con.spawn( ...

--


More information about the Digitalmars-d-bugs mailing list