summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/EventLoop.h
AgeCommit message (Collapse)Author
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling
2021-01-09LibCore: Harden signal handling code to be called in global destrcutorsTom
Move some more complex globals into a Singleton, which allows it being used from global destructors. It solves problems where some global variables, such as HashMaps may already be deleted, triggering crashes trying to use them.
2021-01-09LibCore: Allow adding/removing signal handlers while handling signalsTom
This allows adding and removing of asynchronous signal handlers while executing signal handlers, even if it is for the same signal that is being handled right now.
2020-09-09LibCore: Add 'notify_forked()' to tear down the eventloop in forked childAnotherTest
This makes the forked process capable of constructing a new event loop, should it choose to.
2020-07-09LibCore: Add register_signal and unregister_signal to EventLoopTom
This allows safer asynchronous handling of signals. Signals are dispatched with highest priority.
2020-05-29LibCore: Do not assert that we can start the RPC serverSergey Bugaev
Now that the Shell uses Core::EventLoop, we can't afford to just crash if /tmp is unwritable.
2020-05-15LibCore: Fix timer expiration processingSergey Bugaev
The previous code did not account for the case when there are timers present, but none are enabled, and used a zero polling timeout. Fixes https://github.com/SerenityOS/serenity/issues/2222
2020-02-15LibCore: Reduce header dependencies of EventLoopAndreas Kling
2020-02-14LibCore: Add a forward declaration headerAndreas Kling
This patch adds <LibCore/Forward.h> and uses it in various places to shrink the header dependency graph.
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling