Searched refs:cancelable_tasks_ (Results 1 – 2 of 2) sorted by relevance
46 cancelable_tasks_[id] = task; in Register()53 size_t removed = cancelable_tasks_.erase(id); in RemoveFinishedTask()62 auto entry = cancelable_tasks_.find(id); in TryAbort()63 if (entry != cancelable_tasks_.end()) { in TryAbort()67 cancelable_tasks_.erase(entry); in TryAbort()87 while (!cancelable_tasks_.empty()) { in CancelAndWait()88 for (auto it = cancelable_tasks_.begin(); it != cancelable_tasks_.end();) { in CancelAndWait()93 cancelable_tasks_.erase(current); in CancelAndWait()97 if (!cancelable_tasks_.empty()) { in CancelAndWait()108 if (cancelable_tasks_.empty()) return TryAbortResult::kTaskRemoved; in TryAbortAll()[all …]
82 std::unordered_map<Id, Cancelable*> cancelable_tasks_; variable