![]() Since we can't simply give HTML::EventLoop control of the whole program, we have to integrate with Core::EventLoop. We do this by having a single-shot 0ms Core::Timer that we start when a task is added to the queue, and restart after processing the queue and there are still tasks in the queue. |
||
---|---|---|
.. | ||
EventLoop.cpp | ||
EventLoop.h | ||
Task.cpp | ||
Task.h | ||
TaskQueue.cpp | ||
TaskQueue.h |