mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
bpo-33608: Minor cleanup related to pending calls. (gh-12247)
This commit is contained in:
parent
7bda9de550
commit
5be45a6105
5 changed files with 81 additions and 68 deletions
|
@ -31,6 +31,8 @@ struct _is {
|
|||
int64_t id_refcount;
|
||||
PyThread_type_lock id_mutex;
|
||||
|
||||
int finalizing;
|
||||
|
||||
PyObject *modules;
|
||||
PyObject *modules_by_index;
|
||||
PyObject *sysdict;
|
||||
|
@ -207,6 +209,8 @@ typedef struct pyruntimestate {
|
|||
struct _xidregitem *head;
|
||||
} xidregistry;
|
||||
|
||||
unsigned long main_thread;
|
||||
|
||||
#define NEXITFUNCS 32
|
||||
void (*exitfuncs[NEXITFUNCS])(void);
|
||||
int nexitfuncs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue