mainLoop package:glib
main event loop, and events
A main event loop abstraction.
Checks to see if the main loop is currently being run via mainLoopRun.
Stops a
MainLoop from running. Any calls to mainLoopRun for the
loop will return.
Runs a main loop until
mainLoopQuit is called on the loop. If
this is called for the thread of the loop's
MainContext, it
will process events from the loop, otherwise it will simply wait.