Playing wth ev_check, ev_prepare and other libev mechanisms for event-loop control.