Searched refs:curCount (Results 1 – 1 of 1) sorted by relevance
555 int32_t curCount = impl->mStrong.load(std::memory_order_relaxed); in attemptIncStrong() local557 ALOG_ASSERT(curCount >= 0, in attemptIncStrong()560 while (curCount > 0 && curCount != INITIAL_STRONG_VALUE) { in attemptIncStrong()563 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()571 if (curCount <= 0 || curCount == INITIAL_STRONG_VALUE) { in attemptIncStrong()579 if (curCount <= 0) { in attemptIncStrong()589 while (curCount > 0) { in attemptIncStrong()590 if (impl->mStrong.compare_exchange_weak(curCount, curCount+1, in attemptIncStrong()599 if (curCount <= 0) { in attemptIncStrong()616 curCount = impl->mStrong.fetch_add(1, std::memory_order_relaxed); in attemptIncStrong()[all …]