[Vm-dev] [commit] r2395 - Merging support files from cogvm branch.

commits at squeakvm.org commits at squeakvm.org
Thu Jun 9 06:47:37 UTC 2011


Author: andreas
Date: 2011-06-08 23:47:36 -0700 (Wed, 08 Jun 2011)
New Revision: 2395

Modified:
   trunk/platforms/win32/plugins/AsynchFilePlugin/sqWin32AsyncFilePrims.c
Log:
Merging support files from cogvm branch.

Modified: trunk/platforms/win32/plugins/AsynchFilePlugin/sqWin32AsyncFilePrims.c
===================================================================
--- trunk/platforms/win32/plugins/AsynchFilePlugin/sqWin32AsyncFilePrims.c	2011-06-08 00:36:21 UTC (rev 2394)
+++ trunk/platforms/win32/plugins/AsynchFilePlugin/sqWin32AsyncFilePrims.c	2011-06-09 06:47:36 UTC (rev 2395)
@@ -255,10 +255,10 @@
   state->hEvent = CreateEvent(NULL, 0, 0, NULL);
   state->hThread =
     CreateThread(NULL,                    /* No security descriptor */
-		 0,                       /* default stack size     */
+		 128*1024,                /* max stack size     */
 		 (LPTHREAD_START_ROUTINE) &sqAsyncFileThread, /* what to do */
 		 (LPVOID) state,       /* parameter for thread   */
-		 CREATE_SUSPENDED,        /* create suspended */
+		 CREATE_SUSPENDED | STACK_SIZE_PARAM_IS_A_RESERVATION,
 		 &id);                    /* return value for thread id */
   if(!state->hThread) {
     printLastError(TEXT("CreateThread() failed"));



More information about the Vm-dev mailing list