Skip to content

Commit 07e2d99

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 3c22a3d commit 07e2d99

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
@@ -787,7 +787,6 @@ struct _is {
787787
int finalizing;
788788

789789
uintptr_t last_restart_version;
790-
Py_ssize_t _owners;
791790
struct pythreads {
792791
uint64_t next_unique_id;
793792
/* The linked list of threads, newest first. */
@@ -966,6 +965,7 @@ struct _is {
966965
# endif
967966
#endif
968967

968+
Py_ssize_t _owners;
969969
/* the initial PyInterpreterState.threads.head */
970970
_PyThreadStateImpl _initial_thread;
971971
// _initial_thread should be the last field of PyInterpreterState.

0 commit comments

Comments
 (0)