[dmd-concurrency] std.concurrency

Igor Lesik curoles at yahoo.com
Tue Mar 9 01:49:44 PST 2010


>Okay, I checked in the first cut of this module.  It still lacks receiveTimeout and receiveOnly, but plain old send/receive are in place.  I'll see about >improving it over then next N days.

Excellent, thanks.

Please, consider an idea to check if first parameter of receive() is not delegate but integral and treat it as timeout value. It makes both receiveTImeout() and receiveOnly() one liners.


      


More information about the dmd-concurrency mailing list