mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
GH-118095: Make sure that progress is made if there are pending calls being handled. (GH-118484)
This commit is contained in:
parent
8a50544a99
commit
39981fd07a
2 changed files with 11 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue