Skip to content

Commit 64e20aa

Browse files
committed
sync with main
1 parent 384ca59 commit 64e20aa

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Include/cpython/critical_section.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ PyCriticalSection2_End(PyCriticalSection2 *c);
8585
#ifndef Py_GIL_DISABLED
8686
# define Py_BEGIN_CRITICAL_SECTION(op) \
8787
{
88+
# define Py_EXIT_CRITICAL_SECTION()
8889
# define Py_END_CRITICAL_SECTION() \
8990
}
9091
# define Py_BEGIN_CRITICAL_SECTION2(a, b) \

Include/internal/pycore_critical_section.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ extern "C" {
8383
# define Py_BEGIN_CRITICAL_SECTION_MUT(mut) {
8484
# define Py_BEGIN_CRITICAL_SECTION2_MUT(m1, m2) {
8585
# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
86-
# define Py_EXIT_CRITICAL_SECTION()
8786
# define Py_EXIT_CRITICAL_SECTION_SEQUENCE_FAST()
8887
# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
8988
# define _Py_CRITICAL_SECTION_ASSERT_MUTEX_LOCKED(mutex)

0 commit comments

Comments
 (0)