Lines Matching defs:mutex
16 * Allocate a mutex from the mutex region.
36 * need to mutex at all.
86 * Internal routine to allocate a mutex.
110 * If we're not initializing the mutex region, then lock the region to
111 * allocate new mutexes. Drop the lock before initializing the mutex,
112 * mutex initialization may require a system call.
119 "unable to allocate memory for mutex; resize mutex region");
139 /* Initialize the mutex. */
145 * If the mutex is associated with a single process, set the process
147 * process ID to know if the mutex is still in use.
166 * Free a mutex.
180 * when we close the mutex environment (because we have to be able to
184 * mpool region. It's OK, the mutex has been, or will be, destroyed.
186 * If the mutex has never been configured, we're done.
196 * Internal routine to free a mutex.
209 db_mutex_t mutex;
212 mutex = *indxp;
217 mutexp = MUTEXP_SET(mutex);
222 ret = __mutex_destroy(env, mutex);
227 /* Link the mutex on the head of the free list. */
229 mtxregion->mutex_next = mutex;