Lines Matching refs:thread_mutex
33 if (m->thread_mutex) {
35 (void)apr_thread_mutex_destroy(m->thread_mutex);
38 rv = apr_thread_mutex_destroy(m->thread_mutex);
64 m->thread_mutex = NULL; /* We don't need a thread lock. */
67 rv = apr_thread_mutex_create(&m->thread_mutex,
98 if (mutex->thread_mutex) {
99 rv = apr_thread_mutex_lock(mutex->thread_mutex);
110 if (mutex->thread_mutex) {
111 (void)apr_thread_mutex_unlock(mutex->thread_mutex);
124 if (mutex->thread_mutex) {
125 rv = apr_thread_mutex_trylock(mutex->thread_mutex);
136 if (mutex->thread_mutex) {
137 (void)apr_thread_mutex_unlock(mutex->thread_mutex);
152 if (mutex->thread_mutex) {
157 rv = apr_thread_mutex_timedlock(mutex->thread_mutex, timeout);
174 if (mutex->thread_mutex) {
175 (void)apr_thread_mutex_unlock(mutex->thread_mutex);
192 if (mutex->thread_mutex) {
194 (void)apr_thread_mutex_unlock(mutex->thread_mutex);
197 rv = apr_thread_mutex_unlock(mutex->thread_mutex);
210 ospmutex->thread_mutex = pmutex->thread_mutex;