You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@apache.org on 2001/04/03 04:15:40 UTC
cvs commit: httpd-2.0/server/mpm/threaded threaded.c
gregames 01/04/02 19:15:39
Modified: server/mpm/perchild perchild.c
server/mpm/threaded threaded.c
Log:
tell the user what's going if APR threads aren't unavailable, and Apache
is using a threaded MPM.
Revision Changes Path
1.56 +4 -0 httpd-2.0/server/mpm/perchild/perchild.c
Index: perchild.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/perchild/perchild.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -b -u -r1.55 -r1.56
--- perchild.c 2001/03/05 20:15:14 1.55
+++ perchild.c 2001/04/03 02:15:30 1.56
@@ -73,6 +73,10 @@
#include <sys/socket.h>
#endif
+#if !APR_HAVE_THREADS
+#error The perchild MPM requires APR threads, but they are unavailable.
+#endif
+
#define CORE_PRIVATE
#include "ap_config.h"
1.17 +4 -0 httpd-2.0/server/mpm/threaded/threaded.c
Index: threaded.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/threaded/threaded.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -b -u -r1.16 -r1.17
--- threaded.c 2001/03/27 19:47:13 1.16
+++ threaded.c 2001/04/03 02:15:35 1.17
@@ -73,6 +73,10 @@
#include <sys/wait.h>
#endif
+#if !APR_HAVE_THREADS
+#error The threaded MPM requires APR threads, but they are unavailable.
+#endif
+
#define CORE_PRIVATE
#include "ap_config.h"