Searched defs:mutex (Results 1 - 2 of 2) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/pthreads/include/isc/
H A Dmutex.h18 /* $Id: mutex.h,v 1.30 2007/06/19 23:47:18 tbox Exp $ */
34 * Supply mutex attributes that enable deadlock detection
50 * number of times each type of mutex was locked and the amount of time
61 pthread_mutex_t mutex; /*%< The actual mutex. */ member in struct:__anon186
103 ((pthread_mutex_trylock((&(mp)->mutex)) == 0) ? \
113 ((pthread_mutex_destroy((&(mp)->mutex)) == 0) ? \
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dcondition.c197 * 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) { argument
219 LeaveCriticalSection(mutex);
222 EnterCriticalSection(mutex);
235 isc_condition_wait(isc_condition_t *cond, isc_mutex_t *mutex) { argument
236 return (wait(cond, mutex, INFINITE));
240 isc_condition_waituntil(isc_condition_t *cond, isc_mutex_t *mutex, argument
[all...]

Completed in 20 milliseconds