Home
last modified time | relevance | path

Searched refs:fCurrentShared (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkSharedMutex.cpp116 : fCurrentShared(new ThreadIDSet) in SkSharedMutex()
135 currentSharedCount = fCurrentShared->count(); in acquire()
157 SkASSERT(0 == fCurrentShared->count()); in release()
163 fWaitingShared.swap(fCurrentShared); in release()
180 SkASSERT(0 == fCurrentShared->count()); in assertHeld()
196 if (!fCurrentShared->tryAdd(threadID)) { in acquireShared()
218 if (!fCurrentShared->tryRemove(threadID)) { in releaseShared()
221 currentSharedCount = fCurrentShared->count(); in releaseShared()
233 SkASSERT(fCurrentShared->find(threadID)); in assertHeldShared()
DSkSharedMutex.h53 skstd::unique_ptr<ThreadIDSet> fCurrentShared; variable