Skip to content

Commit 55b5fe4

Browse files
committed
Reorder and add _owners field
Move the `_owners` field to be after `finalizing` and add it back to the struct. It was removed in a previous commit and is needed.
1 parent b58d4a1 commit 55b5fe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_interp_structs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,6 @@ struct _is {
793793
int finalizing;
794794

795795
uintptr_t last_restart_version;
796-
Py_ssize_t _owners;
797796
struct pythreads {
798797
uint64_t next_unique_id;
799798
/* The linked list of threads, newest first. */
@@ -972,6 +971,7 @@ struct _is {
972971
# endif
973972
#endif
974973

974+
Py_ssize_t _owners;
975975
/* the initial PyInterpreterState.threads.head */
976976
_PyThreadStateImpl _initial_thread;
977977
// _initial_thread should be the last field of PyInterpreterState.

0 commit comments

Comments
 (0)