mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
[3.13] gh-117511: Make PyMutex public in the non-limited API (GH-117731) (#120800)
(cherry picked from commit 3af7263037
)
This commit is contained in:
parent
7c7aa5a99c
commit
3cb6c4cd60
18 changed files with 185 additions and 110 deletions
|
@ -2376,7 +2376,7 @@ new_reference(PyObject *op)
|
|||
#else
|
||||
op->ob_tid = _Py_ThreadId();
|
||||
op->_padding = 0;
|
||||
op->ob_mutex = (struct _PyMutex){ 0 };
|
||||
op->ob_mutex = (PyMutex){ 0 };
|
||||
op->ob_gc_bits = 0;
|
||||
op->ob_ref_local = 1;
|
||||
op->ob_ref_shared = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue