]> granicus.if.org Git - apache/commitdiff
Rename the mpmt_pthread module to threaded. This module has moved from
authorRyan Bloom <rbb@apache.org>
Fri, 16 Feb 2001 19:00:24 +0000 (19:00 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 16 Feb 2001 19:00:24 +0000 (19:00 +0000)
the old mpmt_pthread directory to the new threaded directory.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88199 13f79535-47bb-0310-9956-ffa450edef68

20 files changed:
CHANGES
docs/conf/highperformance-std.conf
docs/conf/httpd-std.conf
docs/manual/mod/index-bytype.html
docs/manual/mod/index.html
docs/manual/mod/mpm_common.html
docs/manual/mod/prefork.html
docs/manual/mod/threaded.html [moved from docs/manual/mod/mpmt_pthread.html with 94% similarity]
docs/manual/mpm.html
docs/manual/mpm.html.en
modules/generators/config5.m4
server/mpm/MPM.NAMING
server/mpm/config.m4
server/mpm/mpmt_pthread/Makefile.in [deleted file]
server/mpm/mpmt_pthread/Makefile.libdir [deleted file]
server/mpm/threaded/Makefile.in [new file with mode: 0644]
server/mpm/threaded/config.m4 [moved from server/mpm/mpmt_pthread/config.m4 with 77% similarity]
server/mpm/threaded/mpm.h [moved from server/mpm/mpmt_pthread/mpm.h with 96% similarity]
server/mpm/threaded/mpm_default.h [moved from server/mpm/mpmt_pthread/mpm_default.h with 100% similarity]
server/mpm/threaded/threaded.c [moved from server/mpm/mpmt_pthread/mpmt_pthread.c with 99% similarity]

diff --git a/CHANGES b/CHANGES
index 5439e87d3110f4ba6aa9abd49e691934861afacc..521d3bdae9df77cc40c5da3fb5fdab67f1edf6bc 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,10 @@
 Changes with Apache 2.0.12-dev
 
+  *) Rename mpmt_pthread to threaded.  This is more in line with the
+     fact that mpmt_pthread shouldn't be using pthreads directly, and
+     it is a smaller name that doesn't tie into anything.
+     [Ryan Bloom]
+
   *) Rename the module structures so that the exported symbol matches
      the file name, and it is easier to automate the installation
      process (generating LoadModule directives from the module filenames).
index a97217b050dc510e6366acab219570ccda73911f..5254062f2b5c69a59d18da81532af0da97ee79fa 100755 (executable)
@@ -26,7 +26,7 @@ MinSpareServers  5
 MaxSpareServers 10
 </IfModule>
 
-<IfModule mpmt_pthread.c>
+<IfModule threaded.c>
 MaxClients       8
 StartServers     1
 MinSpareThreads  5
index 68c27b422415d73513fd4e3163e23292ec2fcbe5..ea9332e8332dc6769d54c58f75bf5ee18e8565b4 100644 (file)
@@ -125,7 +125,7 @@ MaxRequestsPerChild  0
 # MaxSpareThreads ...... maximum  number of worker threads which are kept spare
 # ThreadsPerChild ...... constant number of worker threads in each server process
 # MaxRequestsPerChild .. maximum  number of requests a server process serves
-<IfModule mpmt_pthread.c>
+<IfModule threaded.c>
 StartServers         5
 MaxClients           8
 MinSpareThreads      5
index 3bf425823c747525324b44512dcae3409beb0ce1..814654c6b753144e3f93cacbef9ffd047461851b 100644 (file)
@@ -28,7 +28,7 @@ directives</A>.
 <DL>
 <DT><A HREF="core.html">Core</A>
 <DD>Core Apache features.
-<DT><A HREF="mpmt_pthread.html">mpmt_pthread</A>
+<DT><A HREF="threaded.html">threaded</A>
 <DD>Multi-Processing Module with Threading via Pthreads; Variable number
 of processes, constant number of threads/child
 <DT><a href="mpm_winnt.html">mpm_winnt</a>
index 509d41224700146b6ea2fbd57965d8ca92bd8ff5..ee6ea73dd058c3ac30adfcceaa65b07375827bf9 100644 (file)
@@ -29,7 +29,7 @@ directives</A>.
 <DL>
 <DT><A HREF="core.html">Core</A>
 <DD>Core Apache features.
-<DT><A HREF="mpmt_pthread.html">mpmt_pthread</A>
+<DT><A HREF="threaded.html">threaded</A>
 <DD>Multi-Processing Module with Threading via Pthreads; Variable number
 of processes, constant number of threads/child
 <DT><a href="mpm_winnt.html">mpm_winnt</a>
index 500e14c044537ed02e12404438ce4f5208940f13..b3e634b9132ca75e952353033e4e1fdfd5c279d9 100644 (file)
@@ -94,7 +94,7 @@ connections.  If this is off then mod_status will not work properly.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork, mpm_winnt</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork, mpm_winnt</p>
 
 <p>This controls the directory to which Apache attempts to switch
 before dumping core.  The default is in the <A
@@ -125,7 +125,7 @@ you can use this directive to place it in a different location.<P><HR>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork</p>
 
 The Group directive sets the group under which the server will answer requests.
 In order to use this directive, the stand-alone server must be run initially
@@ -175,7 +175,7 @@ considerations.<P><HR>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork, mpm_winnt</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork, mpm_winnt</p>
 
 <p>The PidFile directive sets the file to which the server records the
 process id of the daemon. If the filename does not begin with a slash
@@ -210,7 +210,7 @@ Listen [<EM>IP-address</EM>:]<EM>port number</EM><BR>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork, mpm_winnt</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork, mpm_winnt</p>
 
 
 <P>The Listen directive instructs Apache to listen to only specific IP
@@ -279,7 +279,7 @@ interfaces and port numbers, use
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork, mpm_winnt</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork, mpm_winnt</p>
 
 <P>The maximum length of the queue of pending connections.  Generally no
 tuning is needed or desired, however on some systems it is desirable
@@ -312,7 +312,7 @@ use exactly what is specified as the backlog, but use a number based on
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork</p>
 
 <p>The LockFile directive sets the path to the lockfile used when
 Apache is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
@@ -352,7 +352,7 @@ server will try to create.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, prefork</p>
+><STRONG>Module:</STRONG></A> threaded, prefork</p>
 
 <P>The MaxClients directive sets the limit on the number of child
 processes that will be created to serve requests.  When the server is
@@ -394,7 +394,7 @@ href="#threadsperchild">ThreadsPerChild</a>.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, prefork, perchild, mpm_winnt</p>
+><STRONG>Module:</STRONG></A> threaded, prefork, perchild, mpm_winnt</p>
 
 <p>The MaxRequestsPerChild directive sets the limit on the number of requests
 that an individual child server process will handle. After MaxRequestsPerChild
@@ -424,7 +424,7 @@ behavior to limit the number of <EM>connections</EM> per child.
 <A
  HREF="directive-dict.html#Default"
  REL="Help"
-><STRONG>Default:</STRONG></A> <CODE>MaxSpareThreads 10 (Perchild) or 500 (Mpmt_pthread) </CODE><BR>
+><STRONG>Default:</STRONG></A> <CODE>MaxSpareThreads 10 (Perchild) or 500 (threaded) </CODE><BR>
 <A
  HREF="directive-dict.html#Context"
  REL="Help"
@@ -436,13 +436,13 @@ behavior to limit the number of <EM>connections</EM> per child.
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild</p>
+><STRONG>Module:</STRONG></A> threaded, perchild</p>
 
 <P>Maximum number of idle threads.  Different MPMs deal with this directive
 differently.  Perchild monitor the number of idle threads on a
 per-child basis.  If there are too many idle threads in that child, the server
 will begin to kill threads within that child.</P>
-<P>Mpmt_pthread deals with idle threads on a server-wide basis.  If there are 
+<P>threaded deals with idle threads on a server-wide basis.  If there are 
 too many idle threads in the server then child processes are killed 
 until the number of idle threads is less than this number.</p>
 
@@ -471,7 +471,7 @@ until the number of idle threads is less than this number.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild</p>
+><STRONG>Module:</STRONG></A> threaded, perchild</p>
 
 <P>Maximum number of threads per child.  For MPMs with a variable
 number of threads per child, this directive sets the maximum number of
@@ -491,7 +491,7 @@ the server.</p>
 <A
  HREF="directive-dict.html#Default"
  REL="Help"
-><STRONG>Default:</STRONG></A> <CODE>MaxSpareThreads 5 (Perchild) or 250 (Mpmt_pthread) </CODE><BR>
+><STRONG>Default:</STRONG></A> <CODE>MaxSpareThreads 5 (Perchild) or 250 (threaded) </CODE><BR>
 <A
  HREF="directive-dict.html#Context"
  REL="Help"
@@ -503,14 +503,14 @@ the server.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild</p>
+><STRONG>Module:</STRONG></A> threaded, perchild</p>
 
 <P>Minimum number of idle threads to handle request spikes.  Different MPMs 
 deal with this directive differently.  Perchild monitor the number 
 of idle threads on a per-child basis.  If there aren't enough idle threads in 
 that child, the server will begin to create new threads within that child.  
 </P>
-<P>Mpmt_pthread deals with idle threads on a server-wide basis.  If there 
+<P>threaded deals with idle threads on a server-wide basis.  If there 
 aren't enough idle threads in the server then child processes are created 
 until the number of idle threads is greater than number.</p>
 
@@ -572,7 +572,7 @@ large enough to handle the requests for the entire site.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork</p>
 
 <p>The ScoreBoardFile directive is required on some architectures to place
 a file that the server will use to communicate between its children and
@@ -610,7 +610,7 @@ about log file placement and
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork, mpm_winnt</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork, mpm_winnt</p>
 
 The server will set the TCP buffer size to the number of bytes
 specified. Very useful to increase past standard OS defaults on high
@@ -640,7 +640,7 @@ fast pipes)
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, prefork</p>
+><STRONG>Module:</STRONG></A> threaded, prefork</p>
 
 <p>The StartServers directive sets the number of child server processes created
 on startup. As the number of processes is dynamically controlled depending
@@ -698,13 +698,13 @@ reason to adjust this parameter.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, mpm_winnt</p>
+><STRONG>Module:</STRONG></A> threaded, mpm_winnt</p>
 
 <P>This directive sets the number of threads created by each child
 process.  The child creates these threads at startup and never creates
 more.  if using an MPM like mpmt_winnt, where there is only one child process,
 this number should be high enough to handle the entire load of the server.
-If using an MPM like mpmt_pthread, where there are multiple child processes,
+If using an MPM like threaded, where there are multiple child processes,
 the total number of threads should be high enough to handle the common load
 on the server.</p>
 
@@ -732,7 +732,7 @@ on the server.</p>
 <A
  HREF="directive-dict.html#Module"
  REL="Help"
-><STRONG>Module:</STRONG></A> mpmt_pthread, perchild, prefork</p>
+><STRONG>Module:</STRONG></A> threaded, perchild, prefork</p>
 
 The User directive sets the userid as which the server will answer requests.
 In order to use this directive, the standalone server must be run initially
index 757b26f33f7e030b73415e3c58c84365ea3c3048..26372a9ed587162d4ba493fb658328eec923719b 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <HTML>
 <HEAD>
-<TITLE>Apache MPM mpmt_pthread</TITLE>
+<TITLE>Apache MPM prefork</TITLE>
 </HEAD>
 
 <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
similarity index 94%
rename from docs/manual/mod/mpmt_pthread.html
rename to docs/manual/mod/threaded.html
index e84450f06d49780c80eaed9076563f208e0613d1..0d00ff7cabe8c5e429559215ca5a84ba0b9d667e 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 <HTML>
 <HEAD>
-<TITLE>Apache MPM mpmt_pthread</TITLE>
+<TITLE>Apache MPM threaded</TITLE>
 </HEAD>
 
 <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
@@ -14,7 +14,7 @@
 >
 <!--#include virtual="header.html" -->
 
-<H1 ALIGN="CENTER">Multi-Processing Module mpmt_pthread</H1>
+<H1 ALIGN="CENTER">Multi-Processing Module threaded</H1>
 <P>
 This Multi-Processing Module implements a hybrid multi-threaded
 multi-process web server.
@@ -28,12 +28,12 @@ REL="Help"
 <A
 HREF="module-dict.html#SourceFile"
 REL="Help"
-><STRONG>Source File:</STRONG></A> mpmt_pthread.c
+><STRONG>Source File:</STRONG></A> threaded.c
 <BR>
 <A
 HREF="module-dict.html#ModuleIdentifier"
 REL="Help"
-><STRONG>Module Identifier:</STRONG></A> mpm_mpmt_pthread_module
+><STRONG>Module Identifier:</STRONG></A> mpm_threaded_module
 </P>
 
 <H2>Summary</H2>
index 4d31d813837159b272690a29aa83cc423b8594bb..6e9ada1650357ade9e8ba37a2224bad2c5453d19 100644 (file)
@@ -46,7 +46,7 @@ MPMs.</li>
 <li>The server can be better customized for the needs of the
 particular site.  For example, sites that need a great deal of
 scalability can choose to use a threaded MPM like <a
-href="mod/mpmt_pthread.html">mpmt_pthread</a>, while sites requiring
+href="mod/threaded.html">threaded</a>, while sites requiring
 stability or compatibility with older software can use a <a
 href="mod/prefork.html">preforking MPM</a>.  In addition, special
 features like serving different hosts under different userids
@@ -79,7 +79,7 @@ every module that is compiled into the server, including the MPM.</p>
 <ul>
   <li> BeOS:  mpmt_beos</li>
   <li> OS/2:  spmt_os2</li>
-  <li> Unix:  mpmt_pthread </li>
+  <li> Unix:  threaded </li>
   <li> Windows:  winnt</li>
 </ul>
 
index 4d31d813837159b272690a29aa83cc423b8594bb..6e9ada1650357ade9e8ba37a2224bad2c5453d19 100644 (file)
@@ -46,7 +46,7 @@ MPMs.</li>
 <li>The server can be better customized for the needs of the
 particular site.  For example, sites that need a great deal of
 scalability can choose to use a threaded MPM like <a
-href="mod/mpmt_pthread.html">mpmt_pthread</a>, while sites requiring
+href="mod/threaded.html">threaded</a>, while sites requiring
 stability or compatibility with older software can use a <a
 href="mod/prefork.html">preforking MPM</a>.  In addition, special
 features like serving different hosts under different userids
@@ -79,7 +79,7 @@ every module that is compiled into the server, including the MPM.</p>
 <ul>
   <li> BeOS:  mpmt_beos</li>
   <li> OS/2:  spmt_os2</li>
-  <li> Unix:  mpmt_pthread </li>
+  <li> Unix:  threaded </li>
   <li> Windows:  winnt</li>
 </ul>
 
index 5e9f45ec13f22a13a136f336bb325e4454e40684..2a1799f740ca14f6d52836ba0ecf8a99b399e2aa 100644 (file)
@@ -13,7 +13,7 @@ APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [
 
 LTFLAGS="$LTFLAGS -export-dynamic"
 
-if test "$apache_cv_mpm" = "mpmt_pthread" -o "$apache_cv_mpm" = "dexter"; then
+if test "$apache_cv_mpm" = "threaded" -o "$apache_cv_mpm" = "perchild"; then
 # if we are using a threaded MPM, we will get better performance with
 # mod_cgid, so make it the default.
     APACHE_MODULE(cgid, CGI scripts, , , yes)
index 76164e9a75b56f65878dbd8884770fdd997831f7..2090692d44c5fe13b5381ce7a8ffbb9b686c5268 100644 (file)
@@ -27,7 +27,7 @@ The following MPMs currently exist:
   perchild ...... Multi  Process Model with Threading via Pthreads
                   Constant number of processes, variable number of threads
                   each child process can have a different uid/gid.  
-  mpmt_pthread .. Multi  Process Model with Threading via Pthreads
+  threaded ...... Multi  Process Model with Threading via Pthreads
                   Variable number of processes, constant number of
                   threads/child (= Apache/pthread)
   spmt_os2 ...... Single Process Model with Threading on OS/2
index 8e1c2902691c3e7fd6daf05124c2e08ebb238608..1702e4b53afa275d2c36c300ad343a8f2f7f0822 100644 (file)
@@ -1,18 +1,18 @@
 AC_MSG_CHECKING(which MPM to use)
 AC_ARG_WITH(mpm,
 [  --with-mpm=MPM          Choose the process model for Apache to use.
-               MPM={beos,mpmt_pthread,prefork,spmt_os2,perchild}],[
+               MPM={beos,threaded,prefork,spmt_os2,perchild}],[
   APACHE_MPM=$withval
 ],[
   if test "x$APACHE_MPM" = "x"; then
-    APACHE_MPM=mpmt_pthread
+    APACHE_MPM=threaded
   fi
 ])
 AC_MSG_RESULT($APACHE_MPM)
 
 apache_cv_mpm=$APACHE_MPM
        
-if test "$apache_cv_mpm" = "mpmt_pthread" -o "$apache_cv_mpm" = "perchild"; then
+if test "$apache_cv_mpm" = "threaded" -o "$apache_cv_mpm" = "perchild"; then
   PTHREADS_CHECK
   AC_MSG_CHECKING([for which threading library to use])
   AC_MSG_RESULT($threads_result)
diff --git a/server/mpm/mpmt_pthread/Makefile.in b/server/mpm/mpmt_pthread/Makefile.in
deleted file mode 100644 (file)
index 77f54c3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-
-LTLIBRARY_NAME    = libmpmt_pthread.la
-LTLIBRARY_SOURCES = mpmt_pthread.c
-
-include $(top_srcdir)/build/ltlib.mk
diff --git a/server/mpm/mpmt_pthread/Makefile.libdir b/server/mpm/mpmt_pthread/Makefile.libdir
deleted file mode 100644 (file)
index 7b52540..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-This is a place-holder which indicates to Configure that it shouldn't
-provide the default targets when building the Makefile in this directory.
-Instead it'll just prepend all the important variable definitions, and
-copy the Makefile.tmpl onto the end.
diff --git a/server/mpm/threaded/Makefile.in b/server/mpm/threaded/Makefile.in
new file mode 100644 (file)
index 0000000..b5fb369
--- /dev/null
@@ -0,0 +1,5 @@
+
+LTLIBRARY_NAME    = libthreaded.la
+LTLIBRARY_SOURCES = threaded.c
+
+include $(top_srcdir)/build/ltlib.mk
similarity index 77%
rename from server/mpm/mpmt_pthread/config.m4
rename to server/mpm/threaded/config.m4
index d91092ad87ce9a15a243feebb0679294cb2bf896..9702aa2c81455a444a9e70a619004732d9c5f420 100644 (file)
@@ -1,6 +1,6 @@
 dnl ## XXX - Need a more thorough check of the proper flags to use
 
-if test "$MPM_NAME" = "mpmt_pthread" ; then
+if test "$MPM_NAME" = "threaded" ; then
 
     APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
 
similarity index 96%
rename from server/mpm/mpmt_pthread/mpm.h
rename to server/mpm/threaded/mpm.h
index b8d82e3ac5569a05a803c8b7e8dedda0ee24808c..be4ada3ad473a1b187ac0abc93429bbcd2ff8e6d 100644 (file)
 #include "scoreboard.h"
 #include "unixd.h"
 
-#ifndef APACHE_MPM_MPMT_PTHREAD_H
-#define APACHE_MPM_MPMT_PTHREAD_H
+#ifndef APACHE_MPM_THREADED_H
+#define APACHE_MPM_THREADED_H
 
-#define MPMT_PTHREAD_MPM
+#define THREADED_MPM
 
 #define MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
 #define MPM_SYNC_CHILD_TABLE() (ap_sync_scoreboard_image())
@@ -75,4 +75,4 @@ extern unsigned int ap_my_pid;
 extern server_rec *ap_server_conf;
 extern char ap_coredump_dir[MAX_STRING_LEN];
 
-#endif /* APACHE_MPM_MPMT_PTHREAD_H */
+#endif /* APACHE_MPM_THREADED_H */
similarity index 99%
rename from server/mpm/mpmt_pthread/mpmt_pthread.c
rename to server/mpm/threaded/threaded.c
index 95369310b3ff778ab3fa151cf2a8c2858c270116..507d51ecfe4c5ef2cf826fea32dad9c7588fe107 100644 (file)
@@ -1155,7 +1155,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
     return 0;
 }
 
-static void mpmt_pthread_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
+static void threaded_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
 {
     static int restart_num = 0;
     int no_detach = 0;
@@ -1189,11 +1189,11 @@ static void mpmt_pthread_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_poo
     apr_cpystrn(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir));
 }
 
-static void mpmt_pthread_hooks(apr_pool_t *p)
+static void threaded_hooks(apr_pool_t *p)
 {
     one_process = 0;
 
-    ap_hook_pre_config(mpmt_pthread_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
+    ap_hook_pre_config(threaded_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
 }
 
 
@@ -1370,7 +1370,7 @@ static const char *set_coredumpdir (cmd_parms *cmd, void *dummy,
     return NULL;
 }
 
-static const command_rec mpmt_pthread_cmds[] = {
+static const command_rec threaded_cmds[] = {
 UNIX_DAEMON_COMMANDS
 LISTEN_COMMANDS
 AP_INIT_TAKE1("PidFile", set_pidfile, NULL, RSRC_CONF,
@@ -1396,14 +1396,14 @@ AP_INIT_TAKE1("CoreDumpDirectory", set_coredumpdir, NULL, RSRC_CONF,
 { NULL }
 };
 
-module AP_MODULE_DECLARE_DATA mpm_mpmt_pthread_module = {
+module AP_MODULE_DECLARE_DATA mpm_threaded_module = {
     MPM20_MODULE_STUFF,
     NULL,                       /* hook to run before apache parses args */
     NULL,                      /* create per-directory config structure */
     NULL,                      /* merge per-directory config structures */
     NULL,                      /* create per-server config structure */
     NULL,                      /* merge per-server config structures */
-    mpmt_pthread_cmds,         /* command apr_table_t */
-    mpmt_pthread_hooks         /* register_hooks */
+    threaded_cmds,             /* command apr_table_t */
+    threaded_hooks             /* register_hooks */
 };