Lines Matching refs:aLock
214 PNRMUTEX aLock; in PyThread_allocate_lock() local
220 aLock = AllocNonRecursiveMutex() ; in PyThread_allocate_lock()
222 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock)); in PyThread_allocate_lock()
224 return (PyThread_type_lock) aLock; in PyThread_allocate_lock()
228 PyThread_free_lock(PyThread_type_lock aLock) in PyThread_free_lock() argument
230 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
232 FreeNonRecursiveMutex(aLock) ; in PyThread_free_lock()
242 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
246 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) called\n", PyThread_get_thread_ident(),aLock, waitfla… in PyThread_acquire_lock()
248 …success = aLock && EnterNonRecursiveMutex((PNRMUTEX) aLock, (waitflag ? INFINITE : 0)) == WAIT_OBJ… in PyThread_acquire_lock()
250 …dprintf(("%ld: PyThread_acquire_lock(%p, %d) -> %d\n", PyThread_get_thread_ident(),aLock, waitflag… in PyThread_acquire_lock()
256 PyThread_release_lock(PyThread_type_lock aLock) in PyThread_release_lock() argument
258 dprintf(("%ld: PyThread_release_lock(%p) called\n", PyThread_get_thread_ident(),aLock)); in PyThread_release_lock()
260 if (!(aLock && LeaveNonRecursiveMutex((PNRMUTEX) aLock))) in PyThread_release_lock()
261 … not PyThread_release_lock(%p) error: %ld\n", PyThread_get_thread_ident(), aLock, GetLastError())); in PyThread_release_lock()