diff Python/thread_os2.h @ 6626:5e31d381fa47 legacy-trunk

os2 patch by Jeff Rush
author Guido van Rossum <guido@python.org>
date Sat, 22 Nov 1997 21:53:48 +0000
parents 65d2d8e67da3
children 877d23bd5bdc
line wrap: on
line diff
--- a/Python/thread_os2.h	Sat Nov 22 21:49:56 1997 +0000
+++ b/Python/thread_os2.h	Sat Nov 22 21:53:48 1997 +0000
@@ -56,7 +56,7 @@
   int aThread;
   int success = 1;
 
-  aThread = _beginthread(func,4096,arg);
+  aThread = _beginthread(func,NULL,65536,arg);
 
   if( aThread == -1 ) {
     success = 0;
@@ -210,7 +210,7 @@
 
 }
 
-void down_sema(type_sema aSemaphore, int waitflag)
+int down_sema(type_sema aSemaphore, int waitflag)
 {
   return -1;
 }