Searched refs:kWaiting (Results 1 – 3 of 3) sorted by relevance
97 bool TryRun() { return status_.TrySetValue(kWaiting, kRunning); } in TryRun()108 kWaiting, enumerator116 if (status_.TrySetValue(kWaiting, kCanceled)) { in Cancel()
15 : parent_(parent), status_(kWaiting), id_(0), cancel_counter_(0) { in Cancelable()
180 kWaiting, enumerator207 w->state = Waiter::kWaiting; in Park()223 if (state == Waiter::kWaiting) w->cv.notify_one(); in Unpark()