Home
last modified time | relevance | path

Searched refs:PY_LOCK_INTR (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Include/
H A Dpythread.h15 PY_LOCK_INTR enumerator
72 call will return PY_LOCK_INTR. The caller may reattempt to acquire the
/third_party/python/Modules/
H A D_threadmodule.c77 * PY_LOCK_INTR is returned. Otherwise, PY_LOCK_ACQUIRED or PY_LOCK_FAILURE
102 if (r == PY_LOCK_INTR) { in acquire_timed()
105 * passing up PY_LOCK_INTR. */ in acquire_timed()
107 return PY_LOCK_INTR; in acquire_timed()
122 } while (r == PY_LOCK_INTR); /* Retry if we were interrupted. */ in acquire_timed()
180 if (r == PY_LOCK_INTR) { in lock_PyThread_acquire_lock()
381 else if (r == PY_LOCK_INTR) { in rlock_acquire()
H A D_queuemodule.c256 if (r == PY_LOCK_INTR && Py_MakePendingCalls() < 0) { in _queue_SimpleQueue_get_impl()
/third_party/python/Python/
H A Dthread_pthread.h544 success = PY_LOCK_INTR; in PyThread_acquire_lock_timed()
683 * a signal. Return PY_LOCK_INTR to allow the caller to handle in PyThread_acquire_lock_timed()
685 success = PY_LOCK_INTR; in PyThread_acquire_lock_timed()

Completed in 4 milliseconds