Searched refs:cache_lock (Results 1 – 1 of 1) sorted by relevance
347 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in UpdateCache() local356 cache_lock.unlock(); in UpdateCache()369 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in GetBuffer() local393 cache_lock.unlock(); in GetBuffer()395 cache_lock.lock(); in GetBuffer()400 if (cache_access_cv_.wait_for(cache_lock, kBufferWaitingTimeOutSec) == in GetBuffer()474 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in Refill() local508 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in Refill() local