Introduction - If you have any usage issues, please Google them yourself
Allocate a new main loop object.Prepare for a single iteration of the main loop. Returns a negative value on error or exit request. timeout specifies a maximum timeout for the subsequent poll, or -1 for blocking behaviour.