[jboss-dev-forums] [Design of JBossCache] - Re: PojoCache uses a special node factory
manik.surtani@jboss.com
do-not-reply at jboss.com
Wed Jan 10 07:36:42 EST 2007
anonymous wrote :
|
| Sorry, but don't get it here. The first to access would have the WL on the parent and therefore creating a subsequent child node will go ahead becuase of the same transaction context. So only the other thread will block untill the first transaction is completed. Where is the deadlock here?
|
|
Ok, I was assuming Nodes 1 and 2 were being read, not written. E.g.,
Tx1
___
Read Node1
Write Node10
Tx2
___
Read Node2
Write Node11
That would deadlock.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999902#3999902
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999902
More information about the jboss-dev-forums
mailing list