Runs a main loop until [method@GLib.
MainLoop.quit] is called on the loop.
If this is called from the thread of the loop’s [struct@GLib.MainContext], it will process events from the loop, otherwise it will simply wait.
| this |
a main loop |