Home
last modified time | relevance | path

Searched refs:task (Results 1 - 3 of 3) sorted by relevance

/ide/tools/previewer/jsapp/rich/external/
H A DEventQueue.cpp19 EventTask::EventTask(size_t order, Callback task, std::chrono::steady_clock::time_point targetTime) in EventTask() argument
20 : order(order), task(task), targetTime(targetTime) in EventTask()
25 : order(other.order), task(other.task), targetTime(other.targetTime) in EventTask()
33 task = other.task; in operator =()
43 return task; in GetTask()
H A DEventQueue.h29 EventTask(size_t order, Callback task, std::chrono::steady_clock::time_point targetTime);
39 Callback task; member in OHOS::AppExecFwk::EventTask
H A DEventRunner.cpp54 // If the task at the top of task queue has not yet expired, there is nothing more to do. in Run()
58 // Only record tasks without executing them when the task queue mutex is hold. in Run()
64 // Flushing tasks here without holing onto the task queue mutex. in Run()
65 for (const auto& task : copyTasks) { in Run()
66 task(); in Run()

Completed in 1 milliseconds