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:11:28 UTC

svn commit: r699478 - /httpd/httpd/trunk/server/mpm/winnt/service.c

Author: wrowe
Date: Fri Sep 26 13:11:27 2008
New Revision: 699478

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

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

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