Home | History | Annotate | Download | only in Python

Lines Matching refs:aLock

245     PNRMUTEX aLock;
251 aLock = AllocNonRecursiveMutex() ;
253 dprintf(("%ld: PyThread_allocate_lock() -> %p\n", PyThread_get_thread_ident(), aLock));
255 return (PyThread_type_lock) aLock;
259 PyThread_free_lock(PyThread_type_lock aLock)
261 dprintf(("%ld: PyThread_free_lock(%p) called\n", PyThread_get_thread_ident(),aLock));
263 FreeNonRecursiveMutex(aLock) ;
273 PyThread_acquire_lock_timed(PyThread_type_lock aLock,
293 PyThread_get_thread_ident(), aLock, microseconds));
295 if (aLock && EnterNonRecursiveMutex((PNRMUTEX)aLock,
304 PyThread_get_thread_ident(), aLock, microseconds, success));
309 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag)
311 return PyThread_acquire_lock_timed(aLock, waitflag ? -1 : 0, 0);
315 PyThread_release_lock(PyThread_type_lock aLock)
317 dprintf(("%ld: PyThread_release_lock(%p) called\n", PyThread_get_thread_ident(),aLock));
319 if (!(aLock && LeaveNonRecursiveMutex((PNRMUTEX) aLock)))
320 dprintf(("%ld: Could not PyThread_release_lock(%p) error: %ld\n", PyThread_get_thread_ident(), aLock, GetLastError()));