Lines Matching refs:lock
50 dprintf(("PyThread_allocate_lock() -> %p\n", lock));
51 return (PyThread_type_lock) lock;
55 PyThread_free_lock(PyThread_type_lock lock)
57 dprintf(("PyThread_free_lock(%p) called\n", lock));
61 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag)
63 return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, 0);
67 PyThread_acquire_lock_timed(PyThread_type_lock lock, PY_TIMEOUT_T microseconds,
72 dprintf(("PyThread_acquire_lock_timed(%p, %lld, %d) called\n", lock, microseconds, intr_flag));
74 lock, microseconds, intr_flag, success));
79 PyThread_release_lock(PyThread_type_lock lock)
81 dprintf(("PyThread_release_lock(%p) called\n", lock));