condition variable/semaphore/etc

Sean Kelly sean at
Fri Feb 9 11:59:04 PST 2007

Howard Berkey wrote:
> Since D has the synchronized keyword in the language, implementing simple mutexes
> and/or critical sections are straightforward and trivial.  However, I have not found
 > thus far any language (or phobos class) implementing something like a
> condition  variable.

There isn't one in Phobos.  Tango has a locks package in the works which 
contains semaphores, condvars, read/write locks, and a few other things 
though, IIRC.  If all goes as planned it should be in the next release.


More information about the Digitalmars-d-learn mailing list