Lines Matching defs:mutex
197 * This is always called when the mutex (lock) is held, but because
200 * by the mutex but it should never try to delete it as long as the
201 * number of waiters > 0. Always reacquire the mutex regardless of the
203 * the mutex.
206 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) {
219 LeaveCriticalSection(mutex);
222 EnterCriticalSection(mutex);
235 isc_condition_wait(isc_condition_t *cond, isc_mutex_t *mutex) {
236 return (wait(cond, mutex, INFINITE));
240 isc_condition_waituntil(isc_condition_t *cond, isc_mutex_t *mutex,
257 return (wait(cond, mutex, milliseconds));