Issue #17912: Use a doubly linked-list for thread states.

This commit is contained in:
Charles-Francois Natali 2013-05-08 21:09:52 +02:00
parent 04e70d19e7
commit f28dfdd07b
2 changed files with 18 additions and 41 deletions

View file

@ -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;