aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/unix/EventLoop.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/base/platform/unix/EventLoop.h')
-rw-r--r--include/cru/base/platform/unix/EventLoop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/base/platform/unix/EventLoop.h b/include/cru/base/platform/unix/EventLoop.h
index b039cfbf..c7674a91 100644
--- a/include/cru/base/platform/unix/EventLoop.h
+++ b/include/cru/base/platform/unix/EventLoop.h
@@ -59,6 +59,10 @@ class UnixEventLoop : public Object {
void QueueAction(std::function<void()> action);
int Run();
+
+ /**
+ * Thread-safe.
+ */
void RequestQuit(int exit_code = 0);
/**