[dmd-concurrency] priority messages

Andrei Alexandrescu andrei at erdani.com
Mon Jan 25 09:35:37 PST 2010


Michel Fortin wrote:
> 	tid.send({ throw new Exception(); });

I think this is a very interesting idea to consider, thanks Michel. 
Passing a function from one thread to another could simply mean "call 
this function instead of blocking in receive()".

That function in particular has signature void(), so it does not need to 
be shared.

Andrei


More information about the dmd-concurrency mailing list