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

Steven Schveighoffer schveiguy at yahoo.com
Mon Mar 31 05:44:54 PDT 2014


On Sun, 30 Mar 2014 12:09:35 -0400, Matt <webwraith at fastmail.fm> 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.

Google thread condition variable. It's a very well-known pattern.

-Steve


More information about the Digitalmars-d-learn mailing list