event/Loop: add method WakeUp()

This commit is contained in:
Max Kellermann 2013-01-30 14:57:29 +01:00
parent 3576a8fd9f
commit 18e429a87e

View File

@ -48,6 +48,10 @@ public:
return context;
}
void WakeUp() {
g_main_context_wakeup(context);
}
void Break() {
g_main_loop_quit(loop);
}