mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Update _PyEval_AddPendingCall comment (#95817)
This commit is contained in:
parent
8b34e914bb
commit
23a757f44f
@ -630,8 +630,8 @@ _PyEval_AddPendingCall(PyInterpreterState *interp,
|
||||
{
|
||||
struct _pending_calls *pending = &interp->ceval.pending;
|
||||
|
||||
/* Ensure that _PyEval_InitPendingCalls() was called
|
||||
and that _PyEval_FiniPendingCalls() is not called yet. */
|
||||
/* Ensure that _PyEval_InitState() was called
|
||||
and that _PyEval_FiniState() is not called yet. */
|
||||
assert(pending->lock != NULL);
|
||||
|
||||
PyThread_acquire_lock(pending->lock, WAIT_LOCK);
|
||||
|
Loading…
Reference in New Issue
Block a user