]> granicus.if.org Git - apache/commitdiff
The first of several helper threads which do not need a default 1GB stack
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 Sep 2008 20:10:41 +0000 (20:10 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 Sep 2008 20:10:41 +0000 (20:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699477 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/nt_eventlog.c

index c8e5d1ae554a3ad552f3342059dd2272a45f4dea..055a261c75b0b1b3f8a0a2235ab1dbf3073bfdc3 100644 (file)
@@ -153,8 +153,8 @@ void mpm_nt_eventlog_stderr_open(char *argv0, apr_pool_t *p)
     ap_assert(hPipeRead && hPipeWrite);
 
     stderr_ready = CreateEvent(NULL, FALSE, FALSE, NULL);
-    stderr_thread = CreateThread(NULL, 0, service_stderr_thread,
-                                 (LPVOID) hPipeRead, 0, &threadid);
+    stderr_thread = CreateThread(NULL, 65536, service_stderr_thread,
+                                 (LPVOID)hPipeRead, stack_res_flag, &threadid);
     ap_assert(stderr_ready && stderr_thread);
 
     WaitForSingleObject(stderr_ready, INFINITE);