8000 Drop _Py_ThreadCanHandlePendingCalls(). · python/cpython@d05d4a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit d05d4a0

Browse files
Drop _Py_ThreadCanHandlePendingCalls().
1 parent 9ac11f1 commit d05d4a0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Include/internal/pycore_pystate.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ _Py_ThreadCanHandleSignals(PyInterpreterState *interp)
6060
}
6161

6262

63-
/* Only execute pending calls on the main thread. */
64-
static inline int
65-
_Py_ThreadCanHandlePendingCalls(void)
66-
{
67-
return _Py_IsMainThread();
68-
}
69-
70-
7163
/* Variable and static inline functions for in-line access to current thread
7264
and interpreter state */
7365

0 commit comments

Comments
 (0)
0