On 20.07.2010 19:21, Trass3r wrote:
So synchronized implements mutual exclusion.
http://www.digitalmars.com/d/2.0/class.html#synchronized-functions

What about condition variables:
http://en.wikipedia.org/wiki/Monitor_(synchronization)#Waiting_and_signaling
Is there any standard way to do that?

I think everything from tango.core.sync is included in the dmd download, it's just not in the docs yet. Condition variables are then in core.sync.condition.

You can use the Tango docs for now:
http://www.dsource.org/projects/tango/docs/current/

Reply via email to