Hi Sönke,
Thanks for the reply. Just getting around to processing it now.
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(); }
This does not work. The first problem is that (parent)
should probably be (Task parent)
. After changing this, I get
object.Error: Access ViolationCoreTaskFiber was terminated unexpectedly: Invalid task handle
on the receiveOnly!Task();
line.