From 6f440e251082c7ee10bde40b85cf1a69f5a4a062 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 14 Jun 2002 16:38:07 +0000 Subject: [PATCH] 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 --- CHANGES | 4 ++++ configure.in | 6 ++++++ 2 files changed, 10 insertions(+) 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 -- 2.50.1