Searched refs:fCurrentShared (Results 1 – 4 of 4) sorted by relevance
121 : fCurrentShared(new ThreadIDSet) in SkSharedMutex()136 SkASSERTF(!fCurrentShared->find(threadID), in acquire()143 currentSharedCount = fCurrentShared->count(); in acquire()165 SkASSERT(0 == fCurrentShared->count()); in release()171 fWaitingShared.swap(fCurrentShared); in release()188 SkASSERT(0 == fCurrentShared->count()); in assertHeld()204 if (!fCurrentShared->tryAdd(threadID)) { in acquireShared()226 if (!fCurrentShared->tryRemove(threadID)) { in releaseShared()229 currentSharedCount = fCurrentShared->count(); in releaseShared()241 SkASSERT(fCurrentShared->find(threadID)); in assertHeldShared()
55 std::unique_ptr<ThreadIDSet> fCurrentShared; variable
119 : fCurrentShared(new ThreadIDSet) in SkSharedMutex()134 SkASSERTF(!fCurrentShared->find(threadID), in acquire()141 currentSharedCount = fCurrentShared->count(); in acquire()163 SkASSERT(0 == fCurrentShared->count()); in release()169 fWaitingShared.swap(fCurrentShared); in release()186 SkASSERT(0 == fCurrentShared->count()); in assertHeld()202 if (!fCurrentShared->tryAdd(threadID)) { in acquireShared()224 if (!fCurrentShared->tryRemove(threadID)) { in releaseShared()227 currentSharedCount = fCurrentShared->count(); in releaseShared()239 SkASSERT(fCurrentShared->find(threadID)); in assertHeldShared()