mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +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
|
@ -431,7 +431,7 @@ class TestPendingCalls(unittest.TestCase):
|
|||
def test_pendingcalls_threaded(self):
|
||||
|
||||
#do every callback on a separate thread
|
||||
n = 32 #total callbacks
|
||||
n = 32 #total callbacks (see NPENDINGCALLS in pycore_ceval.h)
|
||||
threads = []
|
||||
class foo(object):pass
|
||||
context = foo()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue