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.
1 parent 384ca59 commit 64e20aaCopy full SHA for 64e20aa
2 files changed
Include/cpython/critical_section.h
@@ -85,6 +85,7 @@ PyCriticalSection2_End(PyCriticalSection2 *c);
85
#ifndef Py_GIL_DISABLED
86
# define Py_BEGIN_CRITICAL_SECTION(op) \
87
{
88
+# define Py_EXIT_CRITICAL_SECTION()
89
# define Py_END_CRITICAL_SECTION() \
90
}
91
# define Py_BEGIN_CRITICAL_SECTION2(a, b) \
Include/internal/pycore_critical_section.h
@@ -83,7 +83,6 @@ extern "C" {
83
# define Py_BEGIN_CRITICAL_SECTION_MUT(mut) {
84
# define Py_BEGIN_CRITICAL_SECTION2_MUT(m1, m2) {
# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
-# define Py_EXIT_CRITICAL_SECTION()
# define Py_EXIT_CRITICAL_SECTION_SEQUENCE_FAST()
# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
# define _Py_CRITICAL_SECTION_ASSERT_MUTEX_LOCKED(mutex)
0 commit comments