Lines Matching refs:group
1484 void TaskGroupManager::ReleaseTaskGroupData(napi_env env, TaskGroup* group)
1486 HILOG_DEBUG("taskpool:: ReleaseTaskGroupData group");
1487 TaskGroupManager::GetInstance().RemoveTaskGroup(group->groupId_);
1488 for (uint64_t taskId : group->taskIds_) {
1496 if (group->currentGroupInfo_ != nullptr) {
1497 delete group->currentGroupInfo_;
1500 group->CancelPendingGroup(env);
1510 HILOG_ERROR("taskpool:: CancelGroup group is nullptr");
1546 void TaskGroupManager::CancelGroupTask(napi_env env, uint64_t taskId, TaskGroup* group)
1682 // During the modification process of the group, prevent other sub threads from performing other
1683 // operations on the group pointer, which may cause the modification to fail.
1689 TaskGroup* group = reinterpret_cast<TaskGroup*>(groupIter->second);
1690 if (group == nullptr || group->groupState_ == ExecuteState::CANCELED) {
1694 group->groupState_ = ExecuteState::RUNNING;