Skip to content

Commit 5851243

Browse files
committed
stub PyEval_InitThreads and PyEval_ThreadsInitialized
1 parent bd8cde7 commit 5851243

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ PyObject* PyEval_CallObjectWithKeywords(PyObject *func, PyObject *args, PyObject
5050
return PyObject_Call(func, args, kwargs);
5151
}
5252

53+
void PyEval_InitThreads() {
54+
// Nothing to do
55+
}
56+
57+
int PyEval_ThreadsInitialized() {
58+
return 1;
59+
}
60+
5361
PyThreadState* PyEval_SaveThread() {
5462
return NULL;
5563
}

0 commit comments

Comments
 (0)