On Sun, 19 Jan 2014 14:24:09 GMT, Sönke Ludwig wrote:

void main()
{
    runWorkerTask((parent){
        parent.send(Task.getThis());
        writeln("Hello world!");
    }, Task.getThis());
    auto task = receiveOnly!Task();
}

Also, why the send before the writeln?