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 93395ef commit 0c0f8beCopy full SHA for 0c0f8be
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/GilNode.java
@@ -139,7 +139,7 @@ public final void release(boolean wasAcquired) {
139
@TruffleBoundary
140
public final boolean acquire(PythonContext context, Node location) {
141
if (!context.ownsGil()) {
142
- TruffleSafepoint.setBlockedThreadInterruptible(location, PythonContext::acquireGil, PythonLanguage.getContext());
+ TruffleSafepoint.setBlockedThreadInterruptible(location, PythonContext::acquireGil, context);
143
return true;
144
}
145
return false;
0 commit comments