summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/thread_pthread_stubs.h
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-02-03 21:59:07 +0300
committershadchin <[email protected]>2026-02-03 22:28:51 +0300
commitbce46f28de392862d5c6c3b185d844ee7c623be3 (patch)
tree424878b5b90144f98970ce4a2745990c77330ad2 /contrib/tools/python3/Python/thread_pthread_stubs.h
parent0e0ee9fa48ce9411b4038aa769493d22ff6c10a2 (diff)
Import Python 3.13.11
commit_hash:bbb53cefb159aa3e7afaa475fd19d5a03b66945f
Diffstat (limited to 'contrib/tools/python3/Python/thread_pthread_stubs.h')
-rw-r--r--contrib/tools/python3/Python/thread_pthread_stubs.h11
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;