mirror of
https://github.com/python/cpython.git
synced 2025-10-16 03:40:58 +00:00
os2 patch by Jeff Rush
This commit is contained in:
parent
c0b93191e6
commit
8e9ebfd337
12 changed files with 459 additions and 28 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue