Commits


ev: define EV_* constants instead of reusing POLL{IN,OUT} Dissociate us a bit from poll(2) so that we may even run on top of something else, and also allows to provide specific values for signal (EV_SIGNAL) and timers (EV_TIMEOUT).


import ev.[ch] from syncparty and amused; locally tweaked to support an arbitrary number of timers.