1
0
Fork 0
libreoffice/external/python3/tsan.patch.0
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

10 lines
311 B
Text

--- Python/ceval_gil.h
+++ Python/ceval_gil.h
@@ -135,6 +135,7 @@
static void recreate_gil(struct _gil_runtime_state *gil)
{
+ _Py_ANNOTATE_RWLOCK_RELEASED(&gil->locked, 1);
_Py_ANNOTATE_RWLOCK_DESTROY(&gil->locked);
/* XXX should we destroy the old OS resources here? */
create_gil(gil);