Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E50EE10B81 for ; Wed, 12 Feb 2014 18:02:40 +0000 (UTC) Received: (qmail 67254 invoked by uid 500); 12 Feb 2014 18:02:37 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 67152 invoked by uid 500); 12 Feb 2014 18:02:31 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 66981 invoked by uid 99); 12 Feb 2014 18:02:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 18:02:21 +0000 Date: Wed, 12 Feb 2014 18:02:21 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2346) Make UtilWaitThread.sleep() reset interrupt status MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899355#comment-13899355 ] Christopher Tubbs commented on ACCUMULO-2346: --------------------------------------------- There was a [mailing list thread|http://mail-archives.apache.org/mod_mbox/accumulo-dev/201311.mbox/%3CCAL5zq9a3Y+szSbr7qvHh2=dvQf7gwnbWn3m0As4COwJ=eiS8dg@mail.gmail.com%3E] regarding this back in November. > Make UtilWaitThread.sleep() reset interrupt status > -------------------------------------------------- > > Key: ACCUMULO-2346 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2346 > Project: Accumulo > Issue Type: Bug > Reporter: Keith Turner > Fix For: 1.7.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 (v6.1.5#6160)