]> granicus.if.org Git - apache/commit
Move logic to decide if an MPM is supported, and whether the MPM is
authorJeff Trawick <trawick@apache.org>
Fri, 17 Apr 2009 16:59:48 +0000 (16:59 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 17 Apr 2009 16:59:48 +0000 (16:59 +0000)
commit413ce35a0e8443dcd3deaeae3f798a451f7739f1
tree801f148d20258a67fdd7cd80fccd9c8be8874235
parent2d04bc77eb2c92d2422d63327b9ca7fe9a96df36
Move logic to decide if an MPM is supported, and whether the MPM is
threaded, down to the MPM itself.
  (server/mpm/FOO/config.m4, which runs before the actual MPM selection)

server/mpm/config.m4 makes some general platform checks that can be used
for MPM decisions, and contains some functions related to MPMs.

  XXX The check here for whether APR_POLLSET_THREADSAFE is available
      is a rough approximation and needs to be replaced by a run-time
      check.

Replace the limited per-platform hard-coded MPM selection and the
current defaulting to event (whether or not it works) with a selection
based on which MPMs work on the platform, as reported by the MPMs
themselves.
  (config2.m4, which runs after the MPMs record whether they are supported)

  Order of preference:

  WinNT (mingw32 only)
    then Event
      then Worker
        then Prefork

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766082 13f79535-47bb-0310-9956-ffa450edef68
configure.in
server/mpm/config.m4
server/mpm/config2.m4 [new file with mode: 0644]
server/mpm/event/config.m4 [new file with mode: 0644]
server/mpm/prefork/config.m4
server/mpm/prefork/config3.m4 [new file with mode: 0644]
server/mpm/simple/config.m4
server/mpm/simple/config3.m4 [new file with mode: 0644]
server/mpm/winnt/config.m4
server/mpm/winnt/config3.m4 [new file with mode: 0644]
server/mpm/worker/config.m4 [new file with mode: 0644]