Home
last modified time | relevance | path

Searched refs:taskId (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_taskpool.cpp37 void Taskpool::TaskSubmitted(EtsLong taskId) in TaskSubmitted() argument
40 waitingTasks_[taskId]++; in TaskSubmitted()
76 bool Taskpool::TaskStarted(uint32_t coroutineId, EtsLong taskId, EtsLong groupId) in TaskStarted() argument
81 ? MoveTaskFromWaitingToRunning(taskId, waitingTasks_, runningTasks_, tasksToBeCanceled_) in TaskStarted()
84 executingTasks_.insert({coroutineId, {taskId, groupId}}); in TaskStarted()
104 bool Taskpool::TaskFinished(uint32_t coroutineId, EtsLong taskId, EtsLong groupId) in TaskFinished() argument
107 ASSERT(executingTasks_[coroutineId].taskId == taskId); in TaskFinished()
109 return (groupId == 0) ? RemoveTaskFromRunning(taskId, runningTasks_, waitingTasks_, tasksToBeCanceled_) in TaskFinished()
113 bool Taskpool::CancelTask(EtsLong taskId) in CancelTask() argument
[all...]
H A Dets_taskpool.h54 * @param taskId requested task identifier
56 void TaskSubmitted(EtsLong taskId);
68 * @param taskId requsted task identifier
74 bool TaskStarted(uint32_t coroutineId, EtsLong taskId, EtsLong groupId);
79 * @param taskId requsted task identifier
85 bool TaskFinished(uint32_t coroutineId, EtsLong taskId, EtsLong groupId);
89 * @param taskId identifier of task for canceling
92 bool CancelTask(EtsLong taskId);
146 EtsLong taskId; member
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Descompat_taskpool.cpp42 extern "C" void TaskpoolTaskSubmitted(EtsLong taskId) in TaskpoolTaskSubmitted() argument
46 coroutine->GetPandaVM()->GetTaskpool()->TaskSubmitted(taskId); in TaskpoolTaskSubmitted()
57 extern "C" EtsBoolean TaskpoolTaskStarted(EtsLong taskId, EtsLong groupId) in TaskpoolTaskStarted() argument
62 coroutine->GetPandaVM()->GetTaskpool()->TaskStarted(coroutine->GetCoroutineId(), taskId, groupId)); in TaskpoolTaskStarted()
65 extern "C" EtsBoolean TaskpoolTaskFinished(EtsLong taskId, EtsLong groupId) in TaskpoolTaskFinished() argument
70 coroutine->GetPandaVM()->GetTaskpool()->TaskFinished(coroutine->GetCoroutineId(), taskId, groupId)); in TaskpoolTaskFinished()
73 extern "C" void TaskpoolCancelTask(EtsLong taskId, EtsLong seqId) in TaskpoolCancelTask() argument
77 if (!coroutine->GetPandaVM()->GetTaskpool()->CancelTask(taskId)) { in TaskpoolCancelTask()
H A Dstd_core_gc.cpp42 void SetCallbackForTask(uint32_t taskId, mem::Reference *callbackRef);
83 void GCTaskTracker::SetCallbackForTask(uint32_t taskId, mem::Reference *callbackRef) in SetCallbackForTask() argument
85 callbackTaskId_ = taskId; in SetCallbackForTask()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
H A Dmpl_scheduler.h40 MplTask() : taskId(0) {} in MplTask()
46 taskId = id; in SetTaskId()
51 return taskId; in GetTaskId()
75 uint32 taskId; member in maple::MplTask
/arkcompiler/ets_runtime/compiler_service/include/
H A Daot_compiler_service.h54 void RemoveUnloadTask(const std::string &taskId);
55 void DelayUnloadTask(const std::string &taskId, const int32_t delayTime);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
H A Dphase_driver.h49 static_cast<PhaseDriverImpl *>(param)->ProcessRun(taskId, target, paramException);
56 static_cast<PhaseDriverImpl *>(param)->ProcessFinish(taskId, target, paramException);
/arkcompiler/ets_runtime/compiler_service/src/
H A Daot_compiler_service.cpp85 void AotCompilerService::RemoveUnloadTask(const std::string &taskId) in RemoveUnloadTask() argument
91 unLoadHandler_->RemoveTask(taskId); in RemoveUnloadTask()
94 void AotCompilerService::DelayUnloadTask(const std::string &taskId, const int32_t delayTime) in DelayUnloadTask() argument
113 unLoadHandler_->PostTask(task, taskId, delayTime); in DelayUnloadTask()

Completed in 5 milliseconds