Lines Matching refs:old_status
27 int old_status = status_.load(std::memory_order_relaxed);
30 DCHECK_LE(old_status, 1);
31 int new_status = old_status < 1 ? old_status + 1 : 1;
32 if (status_.compare_exchange_weak(old_status, new_status,
38 // status_. old_status has been updated. Retry the CAS loop.
40 if (old_status < 0)
45 int old_status = status_.fetch_sub(1, std::memory_order_acquire);
46 DCHECK_LE(old_status, 1);
47 if (old_status < 1) {