Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Locking Mechanism in CDO
Locking Mechanism in CDO [message #952812] Sun, 21 October 2012 20:15 Go to next message
UmaShankar Subramani is currently offline UmaShankar Subramani
Messages: 143
Registered: December 2011
Location: SWEDEN
Senior Member
Hi,

Yesterday I found a strange behavior in the locking mechanism of CDO. When I lock it once, I could unlock it the first time. But, when I lock it twice, I should unlock it twice to get it actually unlocked. So, if I lock it for three times, I should unlock it for three times.

What is the idea behind this?

p.s.: I use CDO from the installed source (CDO 4.2)
Re: Locking Mechanism in CDO [message #952839 is a reply to message #952812] Sun, 21 October 2012 20:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5538
Registered: July 2009
Senior Member
Am 21.10.2012 22:15, schrieb UmaShankar Subramani:
> Hi,
>
> Yesterday I found a strange behavior in the locking mechanism of CDO. When I lock it once, I could unlock it the
> first time. But, when I lock it twice, I should unlock it twice to get it actually unlocked. So, if I lock it for
> three times, I should unlock it for three times.
>
> What is the idea behind this?
>
> p.s.: I use CDO from the installed source (CDO 4.2)
I'm off for the EclipseCon now. I'll keep a flag on this thread and answer next week.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: Locking Mechanism in CDO [message #995172 is a reply to message #952812] Sat, 29 December 2012 09:10 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5538
Registered: July 2009
Senior Member
Am 21.10.2012 22:15, schrieb UmaShankar Subramani:
> Hi,
>
> Yesterday I found a strange behavior in the locking mechanism of CDO. When I lock it once, I could unlock it the
> first time. But, when I lock it twice, I should unlock it twice to get it actually unlocked. So, if I lock it for
> three times, I should unlock it for three times.
>
> What is the idea behind this?
Sorry for the late reply. I'm a little unsure about your problem. Can you please explain what exactly you're doing (e.g.
what lock method, what lock type, etc..), what you're expecting and what's happening instead?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:[CDO] Adapter does not receive RESOLVE notification
Next Topic:EContentAdapter not fired for containment relation
Goto Forum:
  


Current Time: Thu Oct 23 16:28:34 GMT 2014

Powered by FUDForum. Page generated in 0.02310 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software