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] [Resolved] (CLEREZZA-912) Release locks in finally clauses to prevent deadlocks in VirtuosoMGraph
Date Fri, 18 Apr 2014 20:19:15 GMT

     [ https://issues.apache.org/jira/browse/CLEREZZA-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Enrico Daga resolved CLEREZZA-912.
----------------------------------

    Resolution: Fixed

> 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