httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r732421 - /httpd/httpd/trunk/server/mpm/prefork/prefork.c
Date Wed, 07 Jan 2009 18:37:18 GMT
Author: trawick
Date: Wed Jan  7 10:37:18 2009
New Revision: 732421

URL: http://svn.apache.org/viewvc?rev=732421&view=rev
Log:
Release the accept mutex after receiving the shutdown signal
in single-process mode.  (That isn't a critical step, but
neatness counts.)

Submitted by: rpleum


Modified:
    httpd/httpd/trunk/server/mpm/prefork/prefork.c

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=732421&r1=732420&r2=732421&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Wed Jan  7 10:37:18 2009
@@ -549,6 +549,7 @@
                 if (status != APR_SUCCESS) {
                     if (APR_STATUS_IS_EINTR(status)) {
                         if (one_process && shutdown_pending) {
+                            SAFE_ACCEPT(accept_mutex_off());
                             return;
                         }
                         else if (die_now) {



Mime
View raw message