Commit 18e429a8 authored by Max Kellermann's avatar Max Kellermann

event/Loop: add method WakeUp()

parent 3576a8fd
...@@ -48,6 +48,10 @@ public: ...@@ -48,6 +48,10 @@ public:
return context; return context;
} }
void WakeUp() {
g_main_context_wakeup(context);
}
void Break() { void Break() {
g_main_loop_quit(loop); g_main_loop_quit(loop);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment