|Re: [CDO][0.8.0] Concurrency [message #106170 is a reply to message #106101]
||Fri, 04 January 2008 17:27
Originally posted by: stepper.sympedia.de|
That's a good idea. I was too eager with sparing synced statements ;-(
Simon McDuff schrieb:
> I updating our prodcution system with the latest version of CDO.
> (we are still using the version from october)
> I'm going through all the changes we've made... and it is funny that we
> found the same fixes at many places.
> One of them.. we have almost the same change.
> The problem with CDOViewImpl.getObject() its that we need to put
> synchronization around lastLookup and when we assign the lastLookup
> if (id.equals(lastLookupID))
> << CONTEXT COULD SWITCH HERE !!!
> return lastLookupObject;
> Let me know what you think.
Powered by FUDForum
. Page generated in 0.05040 seconds