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.h196 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()
Dimport.c151 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()
Dthread_nt.h190 return PYTHREAD_INVALID_THREAD_ID; in PyThread_start_new_thread()
/external/python/cpython3/Include/
Dpythread.h21 #define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1) macro
/external/python/cpython3/Programs/
D_testembed.c251 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()
/external/python/cpython3/Modules/
D_threadmodule.c1068 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_PyThread_start_new_thread()
1138 if (ident == PYTHREAD_INVALID_THREAD_ID) { in thread_get_ident()
Dfaulthandler.c707 if (PyThread_start_new_thread(faulthandler_thread, NULL) == PYTHREAD_INVALID_THREAD_ID) { in faulthandler_dump_traceback_later()