object sync monitor ref

Pavel phondogo at gmail.com
Thu Nov 7 03:38:16 PST 2013


   I just want to say that mixing synchronization functionality 
with object concept is not good idea from conceptual and 
optimization points of view.
   If thinking like this, for example, we can add one more pointer 
to Object for GUI element (may be some of objects need to be 
associated with it) :) .
   I think it will be better that synchronized section must be 
used only with monitor object directly or with object annotated 
with sync property (or to be shared like Dmitry Olshansky 
suggested).



More information about the Digitalmars-d mailing list