Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/thread/
DWorkQueue.h44 struct WorkItem { struct
45 WorkItem() = delete;
46 WorkItem(const WorkItem& other) = delete;
47 WorkItem& operator=(const WorkItem& other) = delete; argument
48 WorkItem(WorkItem&& other) = default;
49 WorkItem& operator=(WorkItem&& other) = default; argument
51 WorkItem(nsecs_t runAt, std::function<void()>&& work) in WorkItem() function
64 std::vector<WorkItem> toProcess; in process() argument
70 [&now](WorkItem& item) { return item.runAt > now; }); in process()
84 enqueue(WorkItem{time, std::function<void()>(std::forward<F>(func))}); in postAt()
[all …]