diff options
Diffstat (limited to 'contrib/tools/python3/Python/thread_pthread_stubs.h')
| -rw-r--r-- | contrib/tools/python3/Python/thread_pthread_stubs.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/tools/python3/Python/thread_pthread_stubs.h b/contrib/tools/python3/Python/thread_pthread_stubs.h index 56e5b614192..4741e594e52 100644 --- a/contrib/tools/python3/Python/thread_pthread_stubs.h +++ b/contrib/tools/python3/Python/thread_pthread_stubs.h @@ -40,7 +40,7 @@ pthread_cond_init(pthread_cond_t *restrict cond, return 0; } -PyAPI_FUNC(int)pthread_cond_destroy(pthread_cond_t *cond) +PyAPI_FUNC(int) pthread_cond_destroy(pthread_cond_t *cond) { return 0; } @@ -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; |
