Home
last modified time | relevance | path

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

/system/core/libutils/binder/
DRefBase.cpp618 int32_t curCount = impl->mStrong.load(std::memory_order_relaxed); in attemptIncStrong() local
620 ALOG_ASSERT(curCount >= 0, in attemptIncStrong()
623 while (curCount > 0 && curCount != INITIAL_STRONG_VALUE) { in attemptIncStrong()
626 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()
634 if (curCount <= 0 || curCount == INITIAL_STRONG_VALUE) { in attemptIncStrong()
642 if (curCount <= 0) { in attemptIncStrong()
652 while (curCount > 0) { in attemptIncStrong()
653 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()
662 if (curCount <= 0) { in attemptIncStrong()
679 curCount = impl->mStrong.fetch_add(1, std::memory_order_relaxed); in attemptIncStrong()
[all …]