summaryrefslogtreecommitdiffstats
path: root/include/ap_mpm.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>1999-11-19 21:27:32 +0100
committerRyan Bloom <rbb@apache.org>1999-11-19 21:27:32 +0100
commit409d49d2f24d81d295e0b5e636579429bd35d1d3 (patch)
tree5bfe862899a8e2bfce84d9bdb12c740de29e3cb7 /include/ap_mpm.h
parentInitial version of CGI Daemon module. This module needs to be tested more (diff)
downloadapache2-409d49d2f24d81d295e0b5e636579429bd35d1d3.tar.xz
apache2-409d49d2f24d81d295e0b5e636579429bd35d1d3.zip
Remove the ap_thread_mutex code from all MPM's. This code isn't actually
being called anywhere, and I have compiled dexter, mpmt_pthread, and prefork without it. Away it goes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84138 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_mpm.h')
-rw-r--r--include/ap_mpm.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h
index c2bfdbb49f..aedf35443a 100644
--- a/include/ap_mpm.h
+++ b/include/ap_mpm.h
@@ -68,9 +68,7 @@
The MPM may or may not be multithreaded. In the event that it is
multithreaded, at any instant it guarantees a 1:1 mapping of threads
- ap_process_connection invocations. The only primitives the MPM
- provides for synchronization between threads are the ap_thread_mutex
- stuff below.
+ ap_process_connection invocations.
Note: In the future it will be possible for ap_process_connection
to return to the MPM prior to finishing the entire connection; and
@@ -114,13 +112,6 @@ API_EXPORT(int) ap_mpm_run(ap_context_t *pconf, ap_context_t *plog, server_rec *
used by the connection loop */
API_EXPORT(int) ap_graceful_stop_signalled(void);
-/* a mutex which synchronizes threads within one process */
-typedef struct ap_thread_mutex ap_thread_mutex;
-API_EXPORT(ap_thread_mutex *) ap_thread_mutex_new(void);
-API_EXPORT(void) ap_thread_mutex_lock(ap_thread_mutex *);
-API_EXPORT(void) ap_thread_mutex_unlock(ap_thread_mutex *);
-API_EXPORT(void) ap_thread_mutex_destroy(ap_thread_mutex *);
-
#ifdef HAS_OTHER_CHILD
/*
* register an other_child -- a child which the main loop keeps track of