You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2008/09/26 22:10:41 UTC

svn commit: r699477 - /httpd/httpd/trunk/server/mpm/winnt/nt_eventlog.c

Author: wrowe
Date: Fri Sep 26 13:10:41 2008
New Revision: 699477

URL: http://svn.apache.org/viewvc?rev=699477&view=rev
Log:
The first of several helper threads which do not need a default 1GB stack

Modified:
    httpd/httpd/trunk/server/mpm/winnt/nt_eventlog.c

Modified: httpd/httpd/trunk/server/mpm/winnt/nt_eventlog.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/nt_eventlog.c?rev=699477&r1=699476&r2=699477&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/nt_eventlog.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/nt_eventlog.c Fri Sep 26 13:10:41 2008
@@ -153,8 +153,8 @@
     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);