Event loop and watchers (I/O, Timer, Idle, Signal) based on libev.