Lines Matching refs:aLock

247     PNRMUTEX aLock;  in PyThread_allocate_lock()  local
253 aLock = AllocNonRecursiveMutex() ; in PyThread_allocate_lock()
255 dprintf(("%lu: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock()
257 return (PyThread_type_lock) aLock; in PyThread_allocate_lock()
261 PyThread_free_lock(PyThread_type_lock aLock) in PyThread_free_lock() argument
263 dprintf(("%lu: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
265 FreeNonRecursiveMutex(aLock) ; in PyThread_free_lock()
275 PyThread_acquire_lock_timed(PyThread_type_lock aLock, in PyThread_acquire_lock_timed() argument
296 PyThread_get_thread_ident(), aLock, microseconds)); in PyThread_acquire_lock_timed()
298 if (aLock && EnterNonRecursiveMutex((PNRMUTEX)aLock, in PyThread_acquire_lock_timed()
307 PyThread_get_thread_ident(), aLock, microseconds, success)); in PyThread_acquire_lock_timed()
312 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
314 return PyThread_acquire_lock_timed(aLock, waitflag ? -1 : 0, 0); in PyThread_acquire_lock()
318 PyThread_release_lock(PyThread_type_lock aLock) in PyThread_release_lock() argument
320 dprintf(("%lu: PyThread_release_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_release_lock()
322 if (!(aLock && LeaveNonRecursiveMutex((PNRMUTEX) aLock))) in PyThread_release_lock()
323 … not PyThread_release_lock(%p) error: %ld\n", PyThread_get_thread_ident(), aLock, GetLastError())); in PyThread_release_lock()