]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add dummy ap_mpm_register_timed_callback for other MPMs besides Event.
authorPaul Querna <pquerna@apache.org>
Sat, 20 Sep 2008 22:04:03 +0000 (22:04 +0000)
committerPaul Querna <pquerna@apache.org>
Sat, 20 Sep 2008 22:04:03 +0000 (22:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@697425 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/event/mpm.h
server/mpm_common.c

index cf4e61d911519b6d22028b754e4db4c16f3fef09..94f87e29adfa84f3847744d87fd1529308170d34 100644 (file)
@@ -49,6 +49,8 @@
 #define AP_MPM_WANT_FATAL_SIGNAL_HANDLER
 #define AP_MPM_DISABLE_NAGLE_ACCEPTED_SOCK
 
+#define AP_MPM_HAS_USER_CALLBACKS
+
 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
 #define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
 #define MPM_ACCEPT_FUNC unixd_accept
index 70942e2e4173871d47f4b2122701dd22f73a6df5..3c04350496bb88deec66808be93b5b49c37a0f22 100644 (file)
@@ -1288,3 +1288,15 @@ apr_status_t ap_fatal_signal_setup(server_rec *s, apr_pool_t *in_pconf)
 }
 
 #endif /* AP_MPM_WANT_FATAL_SIGNAL_HANDLER */
+
+#ifndef AP_MPM_HAS_USER_CALLBACKS
+
+AP_DECLARE(void) ap_mpm_register_timed_callback(apr_time_t t,
+                                                ap_mpm_callback_fn_t *cbfn,
+                                                void *baton)
+{
+    abort();
+}
+
+#endif /* AP_MPM_HAS_USER_CALLBACKS */
+