Home
last modified time | relevance | path

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

/third_party/python/Python/
Dthread_pthread.h543 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
652 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
690 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
694 if (success == PY_LOCK_ACQUIRED) thelock->locked = 1; in PyThread_acquire_lock_timed()
Dthread_nt.h330 success = PY_LOCK_ACQUIRED; in PyThread_acquire_lock_timed()
/third_party/python/Include/
Dpythread.h15 PY_LOCK_ACQUIRED = 1, enumerator
/third_party/python/Modules/
D_threadmodule.c188 if (r == PY_LOCK_ACQUIRED) in lock_PyThread_acquire_lock()
190 return PyBool_FromLong(r == PY_LOCK_ACQUIRED); in lock_PyThread_acquire_lock()
362 PyLockStatus r = PY_LOCK_ACQUIRED; in rlock_acquire()
379 if (r == PY_LOCK_ACQUIRED) { in rlock_acquire()
388 return PyBool_FromLong(r == PY_LOCK_ACQUIRED); in rlock_acquire()
Dfaulthandler.c608 if (st == PY_LOCK_ACQUIRED) { in faulthandler_thread()
/third_party/python/Modules/_io/
Dbufferedio.c292 if (relax_locking && st != PY_LOCK_ACQUIRED) { in _enter_buffered_busy()