diff options
Diffstat (limited to 'Python/thread_pthread_stubs.h')
-rw-r--r-- | Python/thread_pthread_stubs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Python/thread_pthread_stubs.h b/Python/thread_pthread_stubs.h index 48bad36..4741e59 100644 --- a/Python/thread_pthread_stubs.h +++ b/Python/thread_pthread_stubs.h @@ -94,6 +94,15 @@ pthread_detach(pthread_t thread) return 0; } +int +pthread_join(pthread_t thread, void** value_ptr) +{ + if (value_ptr) { + *value_ptr = NULL; + } + return 0; +} + PyAPI_FUNC(pthread_t) pthread_self(void) { return 0; |