Commit a89f2ec0 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

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
parent 18d5a44b
Loading
Loading
Loading
Loading
+2 −2
Changes for server/mpm/winnt/nt_eventlog.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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);