Concurrent Thread Safe List?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 4 22:03:40 PST 2015


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



More information about the Digitalmars-d-learn mailing list