std.concurrency msg passing
Sean Kelly
sean at invisibleduck.org
Thu Oct 18 11:56:27 PDT 2012
On Oct 18, 2012, at 11:35 AM, cal <callumenator at gmail.com> wrote:
> On Thursday, 18 October 2012 at 18:31:09 UTC, Sean Kelly wrote:
>> On Oct 17, 2012, at 11:29 PM, Joshua Niehus
>>> void foo(Tid tid) {
>>> send(tid, true);
>>> }
> /* snip */
>> spawn() shouldn't allow you to spawn a delegate. Last I checked (which was admittedly a while ago), there were some compiler issues around actually verifying the function signature sent to spawn() though.
>
> Why is foo a delegate here?
My mistake. I misread the example.
More information about the Digitalmars-d-learn
mailing list