On 02/04/2015 06:33 PM, Gan wrote: > If I want a non blocking receive call, would I do bool > receiveTimeout(T...)(Duration duration, T ops); with a duration of 0?
Yes but I am not sure whether the thread simply checks whether there is a message or also sleeps for 0 msecs.
Ali