diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 14:57:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 15:08:09 +0100 |
commit | 18e429a87ede285b08aa8d661df7fa6c3f335dc4 (patch) | |
tree | f78ede61e56b347bcdfd1bc3f12f6c142b646869 /src/event/Loop.hxx | |
parent | 3576a8fd9fb7bd550dba34c82cea1aa60e6f9cee (diff) |
event/Loop: add method WakeUp()
Diffstat (limited to 'src/event/Loop.hxx')
-rw-r--r-- | src/event/Loop.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |