Lines Matching refs:aLock
128 PyThread_free_lock(PyThread_type_lock aLock) in PyThread_free_lock() argument
131 type_os2_lock lock = (type_os2_lock)aLock; in PyThread_free_lock()
135 PyThread_get_thread_ident(),aLock)); in PyThread_free_lock()
138 if (aLock) { in PyThread_free_lock()
139 _fmutex_close((_fmutex *)aLock); in PyThread_free_lock()
140 free((_fmutex *)aLock); in PyThread_free_lock()
144 free(aLock); in PyThread_free_lock()
154 PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag) in PyThread_acquire_lock() argument
161 type_os2_lock lock = (type_os2_lock)aLock; in PyThread_acquire_lock()
166 aLock, in PyThread_acquire_lock()
171 if (aLock && in PyThread_acquire_lock()
172 _fmutex_request((_fmutex *)aLock, waitflag ? 0 : _FMR_NOWAIT)) in PyThread_acquire_lock()
205 PyThread_release_lock(PyThread_type_lock aLock) in PyThread_release_lock() argument
208 type_os2_lock lock = (type_os2_lock)aLock; in PyThread_release_lock()
213 aLock)); in PyThread_release_lock()
216 if (aLock) in PyThread_release_lock()
217 _fmutex_release((_fmutex *)aLock); in PyThread_release_lock()
222 aLock, in PyThread_release_lock()
230 aLock, in PyThread_release_lock()