mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-111863: Rename Py_NOGIL
to Py_GIL_DISABLED
(#111864)
Rename Py_NOGIL to Py_GIL_DISABLED
This commit is contained in:
parent
1c8f912ebd
commit
3b3ec0d77f
39 changed files with 82 additions and 81 deletions
|
@ -58,7 +58,7 @@
|
|||
PyMutex_Unlock(&(obj)->mutex); \
|
||||
}
|
||||
|
||||
#ifdef Py_NOGIL
|
||||
#ifdef Py_GIL_DISABLED
|
||||
#define HASHLIB_INIT_MUTEX(obj) \
|
||||
do { \
|
||||
(obj)->mutex = (PyMutex){0}; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue