Searched refs:kWaiting (Results 1 – 2 of 2) sorted by relevance
114 enum Status { kWaiting, kCanceled, kRunning }; enumerator117 return CompareExchangeStatus(kWaiting, kRunning, previous);125 bool Cancel() { return CompareExchangeStatus(kWaiting, kCanceled); } in Cancel()138 std::atomic<Status> status_{kWaiting};
180 kWaiting, enumerator207 w->state = Waiter::kWaiting; in Park()223 if (state == Waiter::kWaiting) w->cv.notify_one(); in Unpark()