diff options
Diffstat (limited to 'Python/thread_pthread.h')
| -rw-r--r-- | Python/thread_pthread.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index ffc791c..6bc9d55 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -250,9 +250,9 @@ void  PyThread_exit_thread(void)  {      dprintf(("PyThread_exit_thread called\n")); -    if (!initialized) { +    if (!initialized)          exit(0); -    } +    pthread_exit(0);  }  #ifdef USE_SEMAPHORES  | 
