iv_quit man page
iv_quit — signal ivykis to exit the main loop
iv_quit signals ivykis to exit the current thread's main loop.
If called from any callback function, iv_quit will cause the iv_main(3) function called from the current thread to return. It is not meant to be used casually.