From: William A. Rowe Jr Date: Fri, 26 Sep 2008 20:10:41 +0000 (+0000) Subject: The first of several helper threads which do not need a default 1GB stack X-Git-Tag: 2.3.0~284 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1370662b3a3048c89e4ae2124adf964943a74f5;p=apache The first of several helper threads which do not need a default 1GB stack git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699477 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/nt_eventlog.c b/server/mpm/winnt/nt_eventlog.c index c8e5d1ae55..055a261c75 100644 --- a/server/mpm/winnt/nt_eventlog.c +++ b/server/mpm/winnt/nt_eventlog.c @@ -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);