mirror of
https://github.com/python/cpython.git
synced 2025-11-20 10:57:44 +00:00
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)
This commit is contained in:
parent
218e47b618
commit
6a150bcaeb
10 changed files with 320 additions and 186 deletions
|
|
@ -0,0 +1,5 @@
|
|||
We added a new internal _Py_AddPendingCall() that operates relative to the
|
||||
provided interpreter. This allows us to use the existing implementation to
|
||||
ask another interpreter to do work that cannot be done in the current
|
||||
interpreter, like decref an object the other interpreter owns. The existing
|
||||
Py_AddPendingCall() only operates relative to the main interpreter.
|
||||
Loading…
Add table
Add a link
Reference in a new issue