mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
gh-110481: Implement biased reference counting (gh-110764)
This commit is contained in:
parent
05f2f0ac92
commit
6dfb8fe023
29 changed files with 511 additions and 52 deletions
|
@ -1,5 +1,11 @@
|
|||
#ifndef _MSC_VER
|
||||
#include "pyconfig.h" // Py_NOGIL
|
||||
#endif
|
||||
|
||||
#ifndef Py_NOGIL
|
||||
// Need limited C API version 3.13 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
#define Py_LIMITED_API 0x030d0000
|
||||
#endif
|
||||
|
||||
#include "Python.h"
|
||||
#include <errno.h> // errno
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue