Lines Matching refs:aLock

271     PNRMUTEX aLock;  in PyThread_allocate_lock()  local
277 aLock = AllocNonRecursiveMutex() ; in PyThread_allocate_lock()
279 dprintf(("%lu: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock()
281 return (PyThread_type_lock) aLock; in PyThread_allocate_lock()
285 PyThread_free_lock(PyThread_type_lock aLock) in PyThread_free_lock() argument
287 dprintf(("%lu: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
289 FreeNonRecursiveMutex(aLock) ; in PyThread_free_lock()
299 PyThread_acquire_lock_timed(PyThread_type_lock aLock, in PyThread_acquire_lock_timed() argument
320 PyThread_get_thread_ident(), aLock, microseconds)); in PyThread_acquire_lock_timed()
322 if (aLock && EnterNonRecursiveMutex((PNRMUTEX)aLock, in PyThread_acquire_lock_timed()
331 PyThread_get_thread_ident(), aLock, microseconds, success)); in PyThread_acquire_lock_timed()
336 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
338 return PyThread_acquire_lock_timed(aLock, waitflag ? -1 : 0, 0); in PyThread_acquire_lock()
342 PyThread_release_lock(PyThread_type_lock aLock) in PyThread_release_lock() argument
344 dprintf(("%lu: PyThread_release_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_release_lock()
346 if (!(aLock && LeaveNonRecursiveMutex((PNRMUTEX) aLock))) in PyThread_release_lock()
347 … not PyThread_release_lock(%p) error: %ld\n", PyThread_get_thread_ident(), aLock, GetLastError())); in PyThread_release_lock()