Lines Matching defs:lock
201 apr_thread_mutex_t *lock;
332 if ((rv = apr_thread_mutex_lock(loaded.lock)) != APR_SUCCESS) {
340 /* If we find this lock exists, use a set-aside copy of gainlock
343 * lock so other requests can proceed, then rdlock for completion
354 apr_thread_mutex_unlock(loaded.lock);
360 apr_thread_mutex_unlock(loaded.lock);
373 * hash lock to avoid colliding with another thread
376 * before attempting a write lock for this module.
379 apr_thread_mutex_unlock(loaded.lock);
390 * is always atomic to the global lock.
396 apr_thread_mutex_lock(loaded.lock);
399 apr_thread_mutex_unlock(loaded.lock);
413 apr_thread_mutex_unlock(loaded.lock);
419 * before releasing the hash lock to avoid multiple threads from
429 * load process. Short lifetime for this lock would
431 * blocked on the lock haven't all unlocked before we
444 apr_thread_mutex_unlock(loaded.lock);
461 * the setup code we had avoided creating this lock.
1556 * We create a cid->completed mutex and lock on it so that the
1562 * HSE_STATUS_PENDING, we will attempt to gain this lock again
1608 * HttpExtensionProc(). Once we can regain the lock,
1610 * is called by the extension to release the lock,
1702 rv = apr_thread_mutex_create(&loaded.lock, APR_THREAD_MUTEX_DEFAULT,
1706 "Failed to create module cache lock");