From: Jeff Trawick Date: Fri, 14 Jun 2002 16:38:07 +0000 (+0000) Subject: AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT. X-Git-Tag: 2.0.38~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f8c9494433c4a7a1ba5816bb3fc0840063744de;p=apache AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT. These levels of AIX don't have a thundering herd problem with accept(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95673 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 32c3c82882..40399b1290 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Changes with Apache 2.0.38 + *) AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT. + These levels of AIX don't have a thundering herd problem with + accept(). [Jeff Trawick] + *) prefork MPM: Ignore mutex errors during graceful restart. For certain types of mutexes (particularly SysV semaphores), we should expect to occasionally fail to obtain or release the diff --git a/configure.in b/configure.in index 306bf587a5..f2d66df25f 100644 --- a/configure.in +++ b/configure.in @@ -208,6 +208,12 @@ case $host in APR_SETVAR(APACHE_MPM, [prefork]) APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) ;; + *aix*) + aixver=`echo $host | sed 's/^[[^0-9]]*//' | sed 's/\.//g'` + if test $aixver -ge 4330; then + APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) + fi + ;; esac dnl