Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkSharedMutex.cpp282 int32_t newQueueCounts; in release() local
284 newQueueCounts = oldQueueCounts; in release()
287 newQueueCounts -= 1 << kWaitingExlusiveOffset; in release()
297 newQueueCounts &= ~kWaitingSharedMask; in release()
302 newQueueCounts |= waitingShared << kSharedOffset; in release()
305 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in release()
311 } else if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in release()
319 int32_t newQueueCounts; in acquireShared() local
321 newQueueCounts = oldQueueCounts; in acquireShared()
323 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()
[all …]