Home
last modified time | relevance | path

Searched refs:kInvalidTaskId (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/tasks/
Dcancelable-task.cc24 : task_id_counter_(kInvalidTaskId), canceled_(false) {} in CancelableTaskManager()
40 return kInvalidTaskId; in Register()
44 CHECK_NE(kInvalidTaskId, id); in Register()
51 CHECK_NE(kInvalidTaskId, id); in RemoveFinishedTask()
60 CHECK_NE(kInvalidTaskId, id); in TryAbort()
Dcancelable-task.h35 static constexpr Id kInvalidTaskId = 0; variable
/external/v8/src/libplatform/
Ddefault-job.cc20 static_assert(kInvalidTaskId >= kMaxWorkersPerJob, in ~JobDelegate()
23 if (task_id_ != kInvalidTaskId) outer_->ReleaseTaskId(task_id_); in ~JobDelegate()
27 if (task_id_ == kInvalidTaskId) task_id_ = outer_->AcquireTaskId(); in GetTaskId()
Ddefault-job.h39 static constexpr uint8_t kInvalidTaskId =
43 uint8_t task_id_ = kInvalidTaskId;
/external/v8/src/execution/
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()
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()
871 node->timeout_task_id_ = CancelableTaskManager::kInvalidTaskId; in IsolateDeinit()
Dfutex-emulation.h134 CancelableTaskManager::kInvalidTaskId;