summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/EventLoop.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-28 18:19:49 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-29 07:53:30 +0200
commit8afcf0d87a5ab946aaa3b2a12835214eeee6e4bc (patch)
treeef6f55fa8ed1ff56d3fd21e216ee1ea9057bd9fb /Libraries/LibCore/EventLoop.h
parent53647e347f379fd542d8de390d9b3729be31e45a (diff)
downloadserenity-8afcf0d87a5ab946aaa3b2a12835214eeee6e4bc.zip
LibCore: Do not assert that we can start the RPC server
Now that the Shell uses Core::EventLoop, we can't afford to just crash if /tmp is unwritable.
Diffstat (limited to 'Libraries/LibCore/EventLoop.h')
-rw-r--r--Libraries/LibCore/EventLoop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibCore/EventLoop.h b/Libraries/LibCore/EventLoop.h
index b122bdf860..eaa8d018e3 100644
--- a/Libraries/LibCore/EventLoop.h
+++ b/Libraries/LibCore/EventLoop.h
@@ -76,6 +76,7 @@ public:
static void wake();
private:
+ bool start_rpc_server();
void wait_for_event(WaitMode);
Optional<struct timeval> get_next_timer_expiration();