Searched refs:cacheLock (Results 1 – 4 of 4) sorted by relevance
41 @@ -35,91 +35,55 @@ static PZLock * cacheLock = NULL;43 #define UNLOCK_CACHE PZ_Unlock(cacheLock)57 + if (!cacheLock) {62 + PZ_DestroyLock(cacheLock);63 + cacheLock = NULL;81 cacheLock = PZ_NewLock(nssILockCache);82 - return cacheLock ? SECSuccess : SECFailure;88 - if (cacheLock) {89 + if (cacheLock == NULL) {95 PZ_DestroyLock(cacheLock);[all …]
10 -static PZLock * cacheLock = NULL;12 +PZLock * cacheLock = NULL;
35 private final ReadWriteLock cacheLock = new ReentrantReadWriteLock(); field in LoadPathToFileCache51 cacheLock.readLock().lock(); in lookup()55 cacheLock.readLock().unlock(); in lookup()68 cacheLock.writeLock().lock(); in add()72 cacheLock.writeLock().unlock(); in add()
25 PZLock * cacheLock = NULL; variable36 #define UNLOCK_CACHE PZ_Unlock(cacheLock)49 if (!cacheLock) { in FreeSessionCacheLocks()54 PZ_DestroyLock(cacheLock); in FreeSessionCacheLocks()55 cacheLock = NULL; in FreeSessionCacheLocks()73 cacheLock = PZ_NewLock(nssILockCache); in InitSessionCacheLocks()74 if (cacheLock == NULL) { in InitSessionCacheLocks()80 PZ_DestroyLock(cacheLock); in InitSessionCacheLocks()81 cacheLock = NULL; in InitSessionCacheLocks()106 PZ_Lock(cacheLock); in lock_cache()