mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #17912: Use a doubly linked-list for thread states.
This commit is contained in:
parent
04e70d19e7
commit
f28dfdd07b
2 changed files with 18 additions and 41 deletions
|
|
@ -69,6 +69,7 @@ typedef struct _ts PyThreadState;
|
|||
typedef struct _ts {
|
||||
/* See Python/ceval.c for comments explaining most fields */
|
||||
|
||||
struct _ts *prev;
|
||||
struct _ts *next;
|
||||
PyInterpreterState *interp;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue