queue container?
Jonathan M Davis
jmdavisProg at gmx.com
Wed Oct 26 11:52:17 PDT 2011
On Wednesday, October 26, 2011 11:44 Gor Gyolchanyan wrote:
> Not necessarily. You don't even need to have the entire function
> synchronized. You can define your own synchronization blocks, using
> the object's or classes monitor.
True. If you take that approach, then you can sychronize portions of
functions, but you can't mark individual functions as synchronized. You
synchronize the whole class or struct at once, not just individual functions -
unlike Java or C#.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list