F
freefighter
Is there such a way to ensure that at a time just one variable
(pointer to ref type) is used to maintain the object. This is needed
for a multi-threded application where shared data should be used
properly.
In general I`ve done this by locking objects` fields using mutexes or
lock(){} mechanism, but this cann`t be done for CRL general types (as
collections) where from several places the data could be used by
different pointers ..
10x in advance
(pointer to ref type) is used to maintain the object. This is needed
for a multi-threded application where shared data should be used
properly.
In general I`ve done this by locking objects` fields using mutexes or
lock(){} mechanism, but this cann`t be done for CRL general types (as
collections) where from several places the data could be used by
different pointers ..
10x in advance
