Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ceval_gil.c
1 parent f508800 commit 6616710Copy full SHA for 6616710
1 file changed
Python/ceval_gil.c
@@ -547,9 +547,11 @@ _PyEval_FiniGIL(PyInterpreterState *interp)
547
return;
548
}
549
else if (!interp->ceval.own_gil) {
550
+#ifdef Py_DEBUG
551
PyInterpreterState *main_interp = _PyInterpreterState_Main();
552
assert(interp != main_interp);
553
assert(interp->ceval.gil == main_interp->ceval.gil);
554
+#endif
555
interp->ceval.gil = NULL;
556
557
0 commit comments