From: William A. Rowe Jr Date: Fri, 26 Sep 2008 20:11:27 +0000 (+0000) Subject: The next of several helper threads which do not need a default 1GB stack X-Git-Tag: 2.3.0~283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a0ec56c6bfcd4ac0c9c1956e05b1f3f45453e36;p=apache The next of several helper threads which do not need a default 1GB stack git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699478 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/service.c b/server/mpm/winnt/service.c index 96e9bede04..9dc3489a55 100644 --- a/server/mpm/winnt/service.c +++ b/server/mpm/winnt/service.c @@ -728,8 +728,10 @@ apr_status_t mpm_service_to_start(const char **display_name, apr_pool_t *p) return APR_EGENERAL; } - globdat.service_thread = CreateThread(NULL, 0, service_nt_dispatch_thread, - NULL, 0, &globdat.service_thread_id); + globdat.service_thread = CreateThread(NULL, 65536, + service_nt_dispatch_thread, + NULL, stack_res_flag, + &globdat.service_thread_id); } else /* osver.dwPlatformId != VER_PLATFORM_WIN32_NT */ { @@ -741,7 +743,8 @@ apr_status_t mpm_service_to_start(const char **display_name, apr_pool_t *p) return APR_EGENERAL; } - globdat.service_thread = CreateThread(NULL, 0, monitor_service_9x_thread, + globdat.service_thread = CreateThread(NULL, 0, + monitor_service_9x_thread, (LPVOID) mpm_service_name, 0, &globdat.service_thread_id); }