Searched refs:PYTHREAD_INVALID_THREAD_ID (Results 1 – 7 of 7) sorted by relevance
258 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()267 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()278 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()298 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
152 static unsigned long import_lock_thread = PYTHREAD_INVALID_THREAD_ID;159 if (me == PYTHREAD_INVALID_THREAD_ID) in _PyImport_AcquireLock()170 if (import_lock_thread != PYTHREAD_INVALID_THREAD_ID || in _PyImport_AcquireLock()186 if (me == PYTHREAD_INVALID_THREAD_ID || import_lock == NULL) in _PyImport_ReleaseLock()193 import_lock_thread = PYTHREAD_INVALID_THREAD_ID; in _PyImport_ReleaseLock()224 import_lock_thread = PYTHREAD_INVALID_THREAD_ID; in _PyImport_ReInitLock()242 return PyBool_FromLong(import_lock_thread != PYTHREAD_INVALID_THREAD_ID); in _imp_lock_held_impl()
195 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
20 #define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1) macro
1114 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_PyThread_start_new_thread()1184 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_get_ident()
766 if (PyThread_start_new_thread(faulthandler_thread, NULL) == PYTHREAD_INVALID_THREAD_ID) { in faulthandler_dump_traceback_later()
264 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()