Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 30582 invoked from network); 26 Mar 2011 18:36:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2011 18:36:35 -0000 Received: (qmail 59480 invoked by uid 500); 26 Mar 2011 18:36:35 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 59436 invoked by uid 500); 26 Mar 2011 18:36:35 -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 59428 invoked by uid 99); 26 Mar 2011 18:36:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2011 18:36:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Sat, 26 Mar 2011 18:36:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 698FD23888DD; Sat, 26 Mar 2011 18:36:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1085779 - /httpd/httpd/trunk/server/mpm_common.c Date: Sat, 26 Mar 2011 18:36:11 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110326183611.698FD23888DD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Date: Sat Mar 26 18:36:11 2011 New Revision: 1085779 URL: http://svn.apache.org/viewvc?rev=1085779&view=rev Log: use apr_time_from_sec() shortcut Modified: httpd/httpd/trunk/server/mpm_common.c Modified: httpd/httpd/trunk/server/mpm_common.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm_common.c?rev=1085779&r1=1085778&r2=1085779&view=diff ============================================================================== --- httpd/httpd/trunk/server/mpm_common.c (original) +++ httpd/httpd/trunk/server/mpm_common.c Sat Mar 26 18:36:11 2011 @@ -130,7 +130,7 @@ void ap_wait_or_timeout(apr_exit_why_e * return; } - apr_sleep(1000000); + apr_sleep(apr_time_from_sec(1)); ret->pid = -1; return; }