Mailing List Archive

cvs commit: apache-1.3/src/main http_core.c
ben 98/05/03 03:37:07

Modified: src/main http_core.c
Log:
Complain if we have more than 64 threads in Win32.

Revision Changes Path
1.190 +5 -0 apache-1.3/src/main/http_core.c

Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -r1.189 -r1.190
--- http_core.c 1998/05/02 23:25:46 1.189
+++ http_core.c 1998/05/03 10:37:06 1.190
@@ -1599,6 +1599,11 @@
if (err != NULL) return err;

ap_threads_per_child = atoi (arg);
+#ifdef WIN32
+ if(ap_threads_per_child > 64)
+ return "Can't have more than 64 threads in Windows (for now)";
+#endif
+
return NULL;
}