Home
last modified time | relevance | path

Searched refs:PYTHREAD_INVALID_THREAD_ID (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Python/
Dthread_pthread.h258 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()
Dimport.c152 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()
Dthread_nt.h195 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
/external/python/cpython3/Include/
Dpythread.h20 #define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1) macro
/external/python/cpython3/Modules/
D_threadmodule.c1114 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_PyThread_start_new_thread()
1184 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_get_ident()
Dfaulthandler.c766 if (PyThread_start_new_thread(faulthandler_thread, NULL) == PYTHREAD_INVALID_THREAD_ID) { in faulthandler_dump_traceback_later()
/external/python/cpython3/Programs/
D_testembed.c264 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()