mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -2,8 +2,12 @@
|
|||
posixshmem - A Python extension that provides shm_open() and shm_unlink()
|
||||
*/
|
||||
|
||||
#include "pyconfig.h" // Py_NOGIL
|
||||
|
||||
#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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue