Searched refs:CacheLock (Results 1 – 3 of 3) sorted by relevance
92 static pthread_mutex_t CacheLock = PTHREAD_MUTEX_INITIALIZER; variable195 pthread_mutex_lock(&CacheLock); in pmb_open()227 pthread_mutex_unlock(&CacheLock); in pmb_open()242 pthread_mutex_unlock(&CacheLock); in pmb_open()248 pthread_mutex_lock(&CacheLock); in pmb_close()261 pthread_mutex_unlock(&CacheLock); in pmb_close()
97 class CacheLock {99 CacheLock(DiskCache* cache, const std::string& id, bool rollback = false)104 ~CacheLock() { in ~CacheLock()
459 CacheLock lock(cache_, id, true); in BeginCacheFile()644 CacheLock lock(cache_, id); in CompleteValidate()