Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkSharedMutex.cpp286 int32_t newQueueCounts; in release() local
288 newQueueCounts = oldQueueCounts; in release()
291 newQueueCounts -= 1 << kWaitingExlusiveOffset; in release()
301 newQueueCounts &= ~kWaitingSharedMask; in release()
306 newQueueCounts |= waitingShared << kSharedOffset; in release()
309 } while (!fQueueCounts.compare_exchange_strong(oldQueueCounts, newQueueCounts, in release()
316 } else if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in release()
324 int32_t newQueueCounts; in acquireShared() local
326 newQueueCounts = oldQueueCounts; in acquireShared()
328 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()
[all …]