summaryrefslogtreecommitdiffstats
path: root/Python/thread_os2.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-22 21:53:48 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-22 21:53:48 (GMT)
commit8e9ebfd337f18f7b707853a3f2f49cc6245c0596 (patch)
treefe6a0f373d376dede8ad635c250ab83c19965a3f /Python/thread_os2.h
parentc0b93191e6e12fb391461545031808f74a8ae956 (diff)
downloadcpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.zip
cpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.tar.gz
cpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.tar.bz2
os2 patch by Jeff Rush
Diffstat (limited to 'Python/thread_os2.h')
-rw-r--r--Python/thread_os2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread_os2.h b/Python/thread_os2.h
index 314b4cb..d52b236 100644
--- a/Python/thread_os2.h
+++ b/Python/thread_os2.h
@@ -56,7 +56,7 @@ int start_new_thread(void (*func)(void *), void *arg)
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 free_sema(type_sema aSemaphore)
}
-void down_sema(type_sema aSemaphore, int waitflag)
+int down_sema(type_sema aSemaphore, int waitflag)
{
return -1;
}