Searched refs:PYTHREAD_INVALID_THREAD_ID (Results 1 – 7 of 7) sorted by relevance
270 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()279 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()290 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()310 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
114 static unsigned long import_lock_thread = PYTHREAD_INVALID_THREAD_ID;121 if (me == PYTHREAD_INVALID_THREAD_ID) in _PyImport_AcquireLock()132 if (import_lock_thread != PYTHREAD_INVALID_THREAD_ID || in _PyImport_AcquireLock()148 if (me == PYTHREAD_INVALID_THREAD_ID || import_lock == NULL) in _PyImport_ReleaseLock()155 import_lock_thread = PYTHREAD_INVALID_THREAD_ID; in _PyImport_ReleaseLock()182 import_lock_thread = PYTHREAD_INVALID_THREAD_ID; in _PyImport_ReInitLock()201 return PyBool_FromLong(import_lock_thread != PYTHREAD_INVALID_THREAD_ID); in _imp_lock_held_impl()
201 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
20 #define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1) macro
1161 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_PyThread_start_new_thread()1240 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_get_ident()
770 if (PyThread_start_new_thread(faulthandler_thread, NULL) == PYTHREAD_INVALID_THREAD_ID) { in faulthandler_dump_traceback_later()
280 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()