Home
last modified time | relevance | path

Searched refs:waitflag (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Python/
Dthread_nt.h342 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
344 return PyThread_acquire_lock_timed(aLock, waitflag ? -1 : 0, 0); in PyThread_acquire_lock()
Dthread_pthread.h750 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock() argument
752 return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0); in PyThread_acquire_lock()
/third_party/python/Doc/library/
D_thread.rst158 .. method:: lock.acquire(waitflag=1, timeout=-1)
164 If the integer *waitflag* argument is present, the action depends on its
172 a *timeout* if *waitflag* is zero.