Home
last modified time | relevance | path

Searched refs:CancelableTaskManager (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/tasks/
Dcancelable-task.cc23 CancelableTaskManager::CancelableTaskManager() in CancelableTaskManager() function in v8::internal::CancelableTaskManager
26 CancelableTaskManager::~CancelableTaskManager() { in ~CancelableTaskManager()
34 CancelableTaskManager::Id CancelableTaskManager::Register(Cancelable* task) { in Register()
42 CancelableTaskManager::Id id = ++task_id_counter_; in Register()
50 void CancelableTaskManager::RemoveFinishedTask(CancelableTaskManager::Id id) { in RemoveFinishedTask()
59 TryAbortResult CancelableTaskManager::TryAbort(CancelableTaskManager::Id id) { in TryAbort()
77 void CancelableTaskManager::CancelAndWait() { in CancelAndWait()
103 TryAbortResult CancelableTaskManager::TryAbortAll() { in TryAbortAll()
125 CancelableTask::CancelableTask(CancelableTaskManager* manager) in CancelableTask()
131 CancelableIdleTask::CancelableIdleTask(CancelableTaskManager* manager) in CancelableIdleTask()
Dcancelable-task.h32 class V8_EXPORT_PRIVATE CancelableTaskManager {
37 CancelableTaskManager();
39 ~CancelableTaskManager();
91 DISALLOW_COPY_AND_ASSIGN(CancelableTaskManager);
96 explicit Cancelable(CancelableTaskManager* parent) in Cancelable()
106 CancelableTaskManager::Id id() { return id_; } in id()
121 friend class CancelableTaskManager;
137 CancelableTaskManager* const parent_;
139 const CancelableTaskManager::Id id_;
149 explicit CancelableTask(CancelableTaskManager* manager);
[all …]
Dtask-utils.cc18 CancelableFuncTask(CancelableTaskManager* manager, std::function<void()> func) in CancelableFuncTask()
30 CancelableIdleFuncTask(CancelableTaskManager* manager, in CancelableIdleFuncTask()
49 CancelableTaskManager* manager, std::function<void()> func) { in MakeCancelableTask()
59 CancelableTaskManager* manager, std::function<void(double)> func) { in MakeCancelableIdleTask()
Dtask-utils.h17 class CancelableTaskManager; variable
22 std::unique_ptr<CancelableTask> MakeCancelableTask(CancelableTaskManager*,
28 CancelableTaskManager* manager, std::function<void(double)>);
/external/v8/src/heap/
Ditem-parallel-job.cc38 ItemParallelJob::ItemParallelJob(CancelableTaskManager* cancelable_task_manager, in ItemParallelJob()
78 CancelableTaskManager::Id* task_ids = in Run()
79 new CancelableTaskManager::Id[num_tasks]; in Run()
Ditem-parallel-job.h116 ItemParallelJob(CancelableTaskManager* cancelable_task_manager,
136 CancelableTaskManager* cancelable_task_manager_;
Dsweeper.h206 CancelableTaskManager::Id task_ids_[kNumberOfSweepingSpaces];
223 CancelableTaskManager::Id iterability_task_id_;
Darray-buffer-sweeper.h77 CancelableTaskManager::Id id_;
/external/v8/src/execution/
Dfutex-emulation.h94 CancelableTaskManager* cancelable_task_manager_ = nullptr;
133 CancelableTaskManager::Id timeout_task_id_ =
134 CancelableTaskManager::kInvalidTaskId;
Dfutex-emulation.cc61 node->timeout_task_id_ = CancelableTaskManager::kInvalidTaskId; in DeleteNodesForIsolate()
114 DCHECK_EQ(CancelableTaskManager::kInvalidTaskId, timeout_task_id_); in ~FutexWaitListNode()
118 if (timeout_task_id_ != CancelableTaskManager::kInvalidTaskId) { in CancelTimeoutTask()
120 timeout_task_id_ = CancelableTaskManager::kInvalidTaskId; in CancelTimeoutTask()
142 ResolveAsyncWaiterPromisesTask(CancelableTaskManager* cancelable_task_manager, in ResolveAsyncWaiterPromisesTask()
156 AsyncWaiterTimeoutTask(CancelableTaskManager* cancelable_task_manager, in AsyncWaiterTimeoutTask()
673 DCHECK_EQ(CancelableTaskManager::kInvalidTaskId, node->timeout_task_id_); in Wake()
694 DCHECK_EQ(CancelableTaskManager::kInvalidTaskId, in Wake()
809 DCHECK_EQ(CancelableTaskManager::kInvalidTaskId, node->timeout_task_id_); in ResolveAsyncWaiterPromises()
822 node->timeout_task_id_ = CancelableTaskManager::kInvalidTaskId; in HandleAsyncWaiterTimeout()
[all …]
Disolate.h71 class CancelableTaskManager; variable
1479 CancelableTaskManager* cancelable_task_manager() { in cancelable_task_manager()
1948 CancelableTaskManager* cancelable_task_manager_ = nullptr;
Disolate.cc2966 cancelable_task_manager_(new CancelableTaskManager()) { in ThrowInternal()
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher.h35 class CancelableTaskManager; variable
162 std::unique_ptr<CancelableTaskManager> task_manager_;
Dcompiler-dispatcher.cc39 task_manager_(new CancelableTaskManager()), in CompilerDispatcher()
/external/v8/src/wasm/
Dmodule-compiler.h222 CancelableTaskManager background_task_manager_;
/external/v8/src/d8/
Dd8.h29 class CancelableTaskManager; variable
223 i::CancelableTaskManager* task_manager_;
Dd8.cc3102 ProcessMessageTask(i::CancelableTaskManager* task_manager, in ProcessMessageTask()
3130 TerminateTask(i::CancelableTaskManager* task_manager, in TerminateTask()