Skip to content

Commit cc0ff85

Browse files
committed
add stubs for PyGILState_Ensure/Release
1 parent d6cd2f0 commit cc0ff85

File tree

1 file changed

+9
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+9
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/pystate.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,12 @@ PyThreadState * PyThreadState_Get() {
4949
// TODO: (tfel) how much ThreadState will we actually support?
5050
return (PyThreadState*)PyThreadState_GetDict();
5151
}
52+
53+
PyGILState_STATE PyGILState_Ensure() {
54+
// ignore for the time being
55+
return NULL;
56+
}
57+
58+
void PyGILState_Release(PyGILState_STATE state) {
59+
// ignore for the time being
60+
}

0 commit comments

Comments
 (0)