GH-118095: Make sure that progress is made if there are pending calls being handled. (GH-118484)

This commit is contained in:
Mark Shannon 2024-05-01 22:18:31 +01:00 • committed by GitHub
parent 8a50544a99
commit 39981fd07a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 12 deletions

View file

@ -41,7 +41,7 @@ struct _pending_call {
#define MAXPENDINGCALLSLOOP_MAIN 0
struct _pending_calls {
int busy;
PyThreadState *handling_thread;
PyMutex mutex;
/* Request for running pending calls. */
int32_t npending;