Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 7600 invoked from network); 5 Dec 2008 08:48:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 08:48:27 -0000 Received: (qmail 11107 invoked by uid 500); 5 Dec 2008 08:48:39 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 10895 invoked by uid 500); 5 Dec 2008 08:48:39 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 10886 invoked by uid 99); 5 Dec 2008 08:48:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 00:48:39 -0800 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 08:47:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AA2352388920; Fri, 5 Dec 2008 00:47:36 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r723660 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Date: Fri, 05 Dec 2008 08:47:36 -0000 To: cvs@httpd.apache.org From: pquerna@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081205084736.AA2352388920@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pquerna Date: Fri Dec 5 00:47:36 2008 New Revision: 723660 URL: http://svn.apache.org/viewvc?rev=723660&view=rev Log: Make hb_ctx_t:keep_running volatile. Suggested by: Ruediger Pluem Modified: httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Modified: httpd/httpd/trunk/modules/cluster/mod_heartbeat.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartbeat.c?rev=723660&r1=723659&r2=723660&view=diff ============================================================================== --- httpd/httpd/trunk/modules/cluster/mod_heartbeat.c (original) +++ httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Fri Dec 5 00:47:36 2008 @@ -35,7 +35,7 @@ int server_limit; int thread_limit; int status; - int keep_running; + volatile int keep_running; apr_proc_mutex_t *mutex; const char *mutex_path; apr_thread_mutex_t *start_mtx;