Home
last modified time | relevance | path

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

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