Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/taskpool/
Drunner.cpp30 for (uint32_t i = 0; i < runningTask_.size(); i++) { in Runner()
31 runningTask_[i] = nullptr; in Runner()
39 for (uint32_t i = 0; i < runningTask_.size(); i++) { in TerminateTask()
40 if (runningTask_[i] != nullptr) { in TerminateTask()
41 if (id != ALL_TASK_ID && id != runningTask_[i]->GetId()) { in TerminateTask()
44 if (type != TaskType::ALL && type != runningTask_[i]->GetTaskType()) { in TerminateTask()
47 runningTask_[i]->Terminated(); in TerminateTask()
68 runningTask_[threadId] = task; in SetRunTask()
Drunner.h71 std::array<Task*, MAX_TASKPOOL_THREAD_NUM + 1> runningTask_; variable