Searched refs:_PyOS_IsMainThread (Results 1 – 5 of 5) sorted by relevance
19 PyAPI_FUNC(int) _PyOS_IsMainThread(void);
131 if (_PyOS_IsMainThread()) { in _multiprocessing_SemLock_acquire_impl()
2034 _PyOS_IsMainThread(void) function
2098 if (ul_millis == 0 || !_PyOS_IsMainThread()) {
1745 if (!wait_flag && _PyOS_IsMainThread()) { in _winapi_WaitForMultipleObjects_impl()