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

/bind-9.11.3/lib/isc/pthreads/include/isc/
H A Dmutex.h9 /* $Id: mutex.h,v 1.30 2007/06/19 23:47:18 tbox Exp $ */
25 * Supply mutex attributes that enable deadlock detection
41 * number of times each type of mutex was locked and the amount of time
52 pthread_mutex_t mutex; /*%< The actual mutex. */ member in struct:__anon268
94 ((pthread_mutex_trylock((&(mp)->mutex)) == 0) ? \
104 ((pthread_mutex_destroy((&(mp)->mutex)) == 0) ? \
/bind-9.11.3/lib/isc/win32/
H A Dcondition.c189 * This is always called when the mutex (lock) is held, but because
192 * by the mutex but it should never try to delete it as long as the
193 * number of waiters > 0. Always reacquire the mutex regardless of the
195 * the mutex.
198 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) { argument
211 LeaveCriticalSection(mutex);
214 EnterCriticalSection(mutex);
227 isc_condition_wait(isc_condition_t *cond, isc_mutex_t *mutex) { argument
228 return (wait(cond, mutex, INFINITE));
232 isc_condition_waituntil(isc_condition_t *cond, isc_mutex_t *mutex, argument
[all...]
/bind-9.11.3/bin/named/
H A Dfuzz.c20 #include <isc/mutex.h>
43 static pthread_mutex_t mutex; variable
109 RUNTIME_CHECK(pthread_mutex_lock(&mutex) == ISC_R_SUCCESS);
123 pthread_cond_wait(&cond, &mutex);
125 RUNTIME_CHECK(pthread_mutex_unlock(&mutex) == ISC_R_SUCCESS);
226 RUNTIME_CHECK(pthread_mutex_lock(&mutex) == ISC_R_SUCCESS);
299 pthread_cond_wait(&cond, &mutex);
301 RUNTIME_CHECK(pthread_mutex_unlock(&mutex) == 0);
386 RUNTIME_CHECK(pthread_mutex_lock(&mutex) == ISC_R_SUCCESS);
412 pthread_cond_wait(&cond, &mutex);
[all...]
/bind-9.11.3/contrib/dlz/modules/mysqldyn/
H A Ddlz_mysqldyn_mod.c209 dlz_mutex_t mutex; member in struct:mysql_instance
290 dlz_mutex_unlock(&dbi->mutex);
306 if (dlz_mutex_trylock(&state->db[i].mutex) == 0)
472 dlz_mutex_unlock(&dbi->mutex);
635 dlz_mutex_unlock(&dbi->mutex);
977 dlz_mutex_init(&state->db[n].mutex, NULL);
978 dlz_mutex_lock(&state->db[n].mutex);
987 dlz_mutex_unlock(&state->db[n].mutex);
1321 dlz_mutex_unlock(&newtx->dbi->mutex);
1460 * Unlock the mutex fo
[all...]

Completed in 16 milliseconds