From 18e429a87ede285b08aa8d661df7fa6c3f335dc4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jan 2013 14:57:29 +0100 Subject: [PATCH] event/Loop: add method WakeUp() --- src/event/Loop.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index 31ef1613c..72731ea2b 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -48,6 +48,10 @@ public: return context; } + void WakeUp() { + g_main_context_wakeup(context); + } + void Break() { g_main_loop_quit(loop); }