accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2346) Make UtilWaitThread.sleep() reset interrupt status
Date Tue, 07 Jul 2015 23:21:04 GMT


John Vines commented on ACCUMULO-2346:

I would also like to +1 this. I don't know of the repercussions, but currently this can cause
threads that are impossible to interrupt out, which is infuriating. There need to be means
for clients to interrupt out their threads.

> Make UtilWaitThread.sleep() reset interrupt status
> --------------------------------------------------
>                 Key: ACCUMULO-2346
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Keith Turner
>             Fix For: 1.8.0
> Look into making UtilWaitThread.sleep() reset the interrupt status by calling {{Thread.currentThread().interrupt()}}.
 This seems like a good thing to do, it allows code that does not want to deal with the interrupt
to pass it on.  The question is, does doing this cause new bugs?

This message was sent by Atlassian JIRA

View raw message