Lines Matching defs:gilstate
458 struct _gilstate_runtime_state *gilstate = &tstate->interp->runtime->gilstate;
459 if (_PyThreadState_Swap(gilstate, tstate) != NULL) {
470 PyThreadState *new_tstate = _PyThreadState_Swap(&runtime->gilstate, NULL);
520 PyThreadState *tstate = _PyThreadState_Swap(&runtime->gilstate, NULL);
537 struct _gilstate_runtime_state *gilstate = &tstate->interp->runtime->gilstate;
538 _PyThreadState_Swap(gilstate, tstate);
1204 if (_PyThreadState_Swap(&runtime->gilstate, NULL) != tstate) {
1213 if (_PyThreadState_Swap(&runtime->gilstate, tstate) != NULL) {