[infinispan-issues] [JBoss JIRA] Commented: (ISPN-444) Release lock when thread is interrupted

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon May 17 11:12:06 EDT 2010


    [ https://jira.jboss.org/browse/ISPN-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12531020#action_12531020 ] 

Manik Surtani commented on ISPN-444:
------------------------------------

I have implemented a better fix as per the email thread, with a try block in the InvocationContextInterceptor.

> Release lock when thread is interrupted
> ---------------------------------------
>
>                 Key: ISPN-444
>                 URL: https://jira.jboss.org/browse/ISPN-444
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Locking and Concurrency
>    Affects Versions: 4.1.0.BETA1
>            Reporter: Phil vd
>            Assignee: Manik Surtani
>             Fix For: 4.1.0.CR1, 4.1.0.Final
>
>
> When a lock is acquired and the acquiring thread is interrupted, the lock is not released.
> A couple of try / finally should do the trick.
> The impact is quite important since the lock is never released and the entry unavailable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list