Home
last modified time | relevance | path

Searched refs:PY_LOCK_ACQUIRED (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Python/
Dthread_pthread.h420 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
532 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
566 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
570 if (success == PY_LOCK_ACQUIRED) thelock->locked = 1; in PyThread_acquire_lock_timed()
Dthread_nt.h300 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
/external/python/cpython3/Modules/
D_threadmodule.c149 if (r == PY_LOCK_ACQUIRED) in lock_PyThread_acquire_lock()
151 return PyBool_FromLong(r == PY_LOCK_ACQUIRED); in lock_PyThread_acquire_lock()
290 PyLockStatus r = PY_LOCK_ACQUIRED; in rlock_acquire()
307 if (r == PY_LOCK_ACQUIRED) { in rlock_acquire()
316 return PyBool_FromLong(r == PY_LOCK_ACQUIRED); in rlock_acquire()
Dfaulthandler.c570 if (st == PY_LOCK_ACQUIRED) { in faulthandler_thread()
/external/python/cpython3/Include/
Dpythread.h16 PY_LOCK_ACQUIRED = 1, enumerator
/external/python/cpython3/Modules/_io/
Dbufferedio.c293 if (relax_locking && st != PY_LOCK_ACQUIRED) { in _enter_buffered_busy()