You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Enrico Daga (JIRA)" <ji...@apache.org> on 2014/04/18 19:51:16 UTC

[jira] [Created] (CLEREZZA-912) Release locks in finally clauses to prevent deadlocks in VirtuosoMGraph

Enrico Daga created CLEREZZA-912:
------------------------------------

             Summary: Release locks in finally clauses to prevent deadlocks in VirtuosoMGraph
                 Key: CLEREZZA-912
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-912
             Project: Clerezza
          Issue Type: Bug
            Reporter: Enrico Daga
            Assignee: Enrico Daga


As the summary says, we should change this:

 readLock.lock();
 ...
 readLock.unlock();

to

 readLock.lock();
 try{

 }finally{
  readLock.unlock;
 }



--
This message was sent by Atlassian JIRA
(v6.2#6252)