clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Daga (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLEREZZA-912) Release locks in finally clauses to prevent deadlocks in VirtuosoMGraph
Date Fri, 18 Apr 2014 17:51:16 GMT
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)

Mime
View raw message