Searched refs:curCount (Results 1 – 1 of 1) sorted by relevance
591 int32_t curCount = impl->mStrong.load(std::memory_order_relaxed); in attemptIncStrong() local593 ALOG_ASSERT(curCount >= 0, in attemptIncStrong()596 while (curCount > 0 && curCount != INITIAL_STRONG_VALUE) { in attemptIncStrong()599 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()607 if (curCount <= 0 || curCount == INITIAL_STRONG_VALUE) { in attemptIncStrong()615 if (curCount <= 0) { in attemptIncStrong()625 while (curCount > 0) { in attemptIncStrong()626 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()635 if (curCount <= 0) { in attemptIncStrong()652 curCount = impl->mStrong.fetch_add(1, std::memory_order_relaxed); in attemptIncStrong()[all …]