mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:57:44 +00:00
LibCore: Move event queueing to a per-thread event queue
Instead of juggling events between individual instances of Core::EventLoop, move queueing and processing to a separate per-thread queue (ThreadEventQueue).
This commit is contained in:
parent
3a70a16ca7
commit
1587caef84
6 changed files with 184 additions and 102 deletions
|
@ -49,6 +49,7 @@ private:
|
|||
|
||||
class DeferredInvocationEvent : public Event {
|
||||
friend class EventLoop;
|
||||
friend class ThreadEventQueue;
|
||||
|
||||
public:
|
||||
DeferredInvocationEvent(NonnullRefPtr<DeferredInvocationContext> context, Function<void()> invokee)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue