Searched refs:PYTHREAD_INVALID_THREAD_ID (Results 1 – 7 of 7) sorted by relevance
196 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()205 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()216 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()236 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
151 static unsigned long import_lock_thread = PYTHREAD_INVALID_THREAD_ID;158 if (me == PYTHREAD_INVALID_THREAD_ID) in _PyImport_AcquireLock()169 if (import_lock_thread != PYTHREAD_INVALID_THREAD_ID || in _PyImport_AcquireLock()185 if (me == PYTHREAD_INVALID_THREAD_ID || import_lock == NULL) in _PyImport_ReleaseLock()192 import_lock_thread = PYTHREAD_INVALID_THREAD_ID; in _PyImport_ReleaseLock()223 import_lock_thread = PYTHREAD_INVALID_THREAD_ID; in _PyImport_ReInitLock()240 return PyBool_FromLong(import_lock_thread != PYTHREAD_INVALID_THREAD_ID); in _imp_lock_held_impl()
190 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
21 #define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1) macro
251 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()
1068 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_PyThread_start_new_thread()1138 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_get_ident()
707 if (PyThread_start_new_thread(faulthandler_thread, NULL) == PYTHREAD_INVALID_THREAD_ID) { in faulthandler_dump_traceback_later()