July 20, 2010 monitor condition variables? | ||||
---|---|---|---|---|
| ||||
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? |
July 20, 2010 Re: monitor condition variables? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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/ |
Copyright © 1999-2021 by the D Language Foundation