Home
last modified time | relevance | path

Searched refs:cancelable_tasks_ (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/v8/src/tasks/
Dcancelable-task.cc46 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 …]
Dcancelable-task.h82 std::unordered_map<Id, Cancelable*> cancelable_tasks_; variable