summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-04-24 01:48:11 +0200
committerLinus Groh <mail@linusgroh.de>2022-04-27 11:54:37 +0200
commitf25123df6633803e9a69b912b12aa302150a979b (patch)
treecacac39ad7b3d305c1f256664ca4f3329851801a /Userland/Utilities
parent9e2a619fdcf7e232c1fd1d6ade9bbe88b810c0f8 (diff)
downloadserenity-f25123df6633803e9a69b912b12aa302150a979b.zip
LibCore: Remove main event loop
The main event loop functionality was used in just two places where the alternative is a bit simpler. Remove it in favor of referencing the event loop directly, or just invoking `EventLoop::current()`. Note that we don't need locking in the constructor since we're now only modifying a thread-local `Vector`. We also don't need locking in the old call sites to `::with_main_locked()` since we already lock the event loop in the subsequent `::post_event()` invocation.
Diffstat (limited to 'Userland/Utilities')
0 files changed, 0 insertions, 0 deletions