We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa625d commit 026e557Copy full SHA for 026e557
Python/pystate.c
@@ -157,12 +157,14 @@ _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime)
157
#ifdef STACKLESS
158
void
159
slp_head_lock(void) {
160
- HEAD_LOCK();
+ _PyRuntimeState *runtime = &_PyRuntime;
161
+ HEAD_LOCK(runtime);
162
}
163
164
165
slp_head_unlock(void) {
- HEAD_UNLOCK();
166
167
+ HEAD_UNLOCK(runtime);
168
169
#endif
170
0 commit comments