Home
last modified time | relevance | path

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

/external/v8/src/
Dcancelable-task.cc35 : task_id_counter_(0), cancelable_tasks_(ComparePointers) {} in CancelableTaskManager()
42 while ((id == 0) || (cancelable_tasks_.Lookup(reinterpret_cast<void*>(id), in Register()
47 cancelable_tasks_.LookupOrInsert(reinterpret_cast<void*>(id), id); in Register()
55 void* removed = cancelable_tasks_.Remove(reinterpret_cast<void*>(id), id); in RemoveFinishedTask()
65 cancelable_tasks_.Lookup(reinterpret_cast<void*>(id), id); in TryAbort()
70 void* removed = cancelable_tasks_.Remove(reinterpret_cast<void*>(id), id); in TryAbort()
94 while (cancelable_tasks_.occupancy() > 0) { in CancelAndWait()
95 for (HashMap::Entry* p = cancelable_tasks_.Start(); p != nullptr; in CancelAndWait()
96 p = cancelable_tasks_.Next(p)) { in CancelAndWait()
103 cancelable_tasks_.Remove(reinterpret_cast<void*>(id), id); in CancelAndWait()
[all …]
Dcancelable-task.h54 HashMap cancelable_tasks_; variable