Searched refs:cache_lock (Results 1 – 1 of 1) sorted by relevance
312 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in UpdateCache() local321 cache_lock.unlock(); in UpdateCache()334 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in GetBuffer() local358 cache_lock.unlock(); in GetBuffer()360 cache_lock.lock(); in GetBuffer()365 if (cache_access_cv_.wait_for(cache_lock, kBufferWaitingTimeOutSec) == in GetBuffer()439 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in Refill() local473 std::unique_lock<std::mutex> cache_lock(cache_access_mutex_); in Refill() local