Lines Matching refs:it
247 // if the worker thread is idle, just skip it, and only the worker in running state can be marked as timeout
256 // Besides, if the worker is not executing sync tasks or micro tasks, it may handle
270 // If the current worker has a longTask and is not executing, we will only interrupt it.
442 // remove it from all sets
482 // System memory state is moderate and the worker has exeuted tasks, we will try to release it
590 // 2. Find executing taskInfo, skip it
591 // 3. Find waiting taskInfo, cancel it
592 // 4. Find canceled taskInfo, skip it
799 // If worker->state_ is WorkerState::IDLE, it means that the worker is free
825 // When there are only idle tasks and workers executing them, it is not triggered
895 // since the worker is blocked, we should add it to the timeout set
899 // Since the worker may be executing some tasks in IO thread, we should add it to the
1167 for (auto it = pendingTaskInfos_.begin(); it != pendingTaskInfos_.end(); ++it) {
1168 if (it->first == taskId) {
1169 result = std::make_pair(it->first, it->second);
1170 it = pendingTaskInfos_.erase(it);