Cross-platform event loop with timers?

In my program I have an event loop that's basically just a select() that listens stdin, a couple of sockets, and some timerfds. I was hoping to go cross-platform and tried mio, but it seems like it doesn't have any timers, so I'm looking for an alternative that's 1) cross-platform 2) has timers. Any ideas?


Hm, mio definitelly allows you to schedule a callback after certain amount of time via timeout function.

It is a one shot timer, so if you want to execute some code every n milliseconds you have to rearm it manually.

Mio is pretty low-level, so I would also try to search for some higher level library on top of mio.