spawn, send, and receive

2018-05-31 Thread Russel Winder via Digitalmars-d-learn
I am fiddling again with writing a D version of Me TV to compare with the C++ (already declared dead), and the Rust version (currently the 'real' version). From the main thread (which eventually becomes the GTK+3 event loop thread) I spawn three threads to create "actors" that pass messages. Actua

Re: spawn, send, and receive

2018-06-01 Thread Russel Winder via Digitalmars-d-learn
It seems that the receive function, immediately on processing a message, is terminating it's thread silently. So the question now is under what circumstances does std.concurrency.receive exit its thread without notice? On Thu, 2018-05-31 at 17:29 +0100, Russel Winder wrote: > I am fiddling again