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
|
@ -4,10 +4,10 @@
|
|||
*/
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include "pyconfig.h" // Py_NOGIL
|
||||
#include "pyconfig.h" // Py_GIL_DISABLED
|
||||
#endif
|
||||
|
||||
#ifndef Py_NOGIL
|
||||
#ifndef Py_GIL_DISABLED
|
||||
// Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
#define Py_LIMITED_API 0x030c0000
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue