|
--- Python/ceval_gil.h
+++ Python/ceval_gil.h
@@ -136,6 +136,7 @@
#ifdef HAVE_FORK
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);
[ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
]
|