Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 915 invoked from network); 22 Feb 2010 17:46:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2010 17:46:49 -0000 Received: (qmail 20235 invoked by uid 500); 22 Feb 2010 17:46:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 20147 invoked by uid 500); 22 Feb 2010 17:46:49 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 20029 invoked by uid 99); 22 Feb 2010 17:46:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 17:46:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 17:46:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5E87F234C4AB for ; Mon, 22 Feb 2010 09:46:28 -0800 (PST) Message-ID: <926712480.435801266860788386.JavaMail.jira@brutus.apache.org> Date: Mon, 22 Feb 2010 17:46:28 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (DAEMON-133) The field SimpleDaemon.stopping is accessed from multiple threads without synch. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 The field SimpleDaemon.stopping is accessed from multiple threads without synch. -------------------------------------------------------------------------------- Key: DAEMON-133 URL: https://issues.apache.org/jira/browse/DAEMON-133 Project: Commons Daemon Issue Type: Bug Reporter: Sebb The field SimpleDaemon.stopping is accessed from multiple threads without synchronisation. The field is access from the run() and stop() methods, and should either be made volatile, or should should be accessed from a synchronized block. WIthout such synch, the run() method may never see the value set by the stop() method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.