Does anyone have an example of use of core.sync.Condition

Ali Çehreli acehreli at yahoo.com
Sun Mar 30 10:47:29 PDT 2014


On 03/30/2014 09:09 AM, Matt wrote:
> I have little experience in multi-threading programming, and was digging
> into std.concurrency, but I don't really understand the Condition class
> as it was used there. Could someone provide a bare-bones use of this
> class? I would be much obliged, thanks.

I haven't used it either but I think this page explains the need for it:

 
http://en.wikipedia.org/wiki/Monitor_%28synchronization%29#Condition_variables

Ali



More information about the Digitalmars-d-learn mailing list