Lines Matching refs:lock

74     apr_thread_mutex_t *lock;
92 rv = apr_thread_mutex_create(&me->lock, APR_THREAD_MUTEX_NESTED,
99 apr_thread_mutex_destroy(me->lock);
142 apr_thread_mutex_destroy(me->lock);
149 * NOTE: This function is not thread safe by itself. Caller should hold the lock
205 * NOTE: This function is not thread safe by itself. Caller should hold the lock
245 apr_thread_mutex_lock(me->lock);
248 apr_thread_mutex_unlock(me->lock);
264 apr_thread_mutex_unlock(me->lock);
267 apr_thread_mutex_lock(me->lock);
290 apr_thread_mutex_unlock(me->lock);
315 apr_thread_cond_timedwait(me->cond, me->lock, wait);
318 apr_thread_cond_wait(me->cond, me->lock);
324 apr_thread_mutex_unlock(me->lock);
336 apr_sleep(20 * 1000); /* spin lock with 20 ms */
338 apr_thread_mutex_destroy(_myself->lock);
373 apr_thread_mutex_lock(tp->lock);
375 apr_thread_mutex_unlock(tp->lock);
400 * NOTE: This function is not thread safe by itself. Caller should hold the lock
438 * NOTE: This function is not thread safe by itself. Caller should hold the lock
487 apr_thread_mutex_lock(me->lock);
491 apr_thread_mutex_unlock(me->lock);
524 apr_thread_mutex_unlock(me->lock);
537 apr_thread_mutex_lock(me->lock);
541 apr_thread_mutex_unlock(me->lock);
578 apr_thread_mutex_unlock(me->lock);
665 apr_thread_mutex_lock(me->lock);
683 apr_thread_mutex_unlock(me->lock);
685 apr_thread_mutex_lock(me->lock);
689 apr_thread_mutex_unlock(me->lock);
698 apr_thread_mutex_lock(me->lock);
705 apr_thread_mutex_unlock(me->lock);
785 apr_thread_mutex_lock(me->lock);
795 apr_thread_mutex_unlock(me->lock);
821 apr_thread_mutex_unlock(me->lock);
836 apr_thread_mutex_lock(me->lock);
838 apr_thread_mutex_unlock(me->lock);
848 apr_thread_mutex_lock(me->lock);
851 apr_thread_mutex_unlock(me->lock);