event/Loop: add method WakeUp()
This commit is contained in:
parent
3576a8fd9f
commit
18e429a87e
@ -48,6 +48,10 @@ public:
|
||||
return context;
|
||||
}
|
||||
|
||||
void WakeUp() {
|
||||
g_main_context_wakeup(context);
|
||||
}
|
||||
|
||||
void Break() {
|
||||
g_main_loop_quit(loop);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user