Greetings,
I was wondering if there is a way to use a timer in combination with linux poll/epoll API. I already use epoll and it would integrate very nice with the existing code if i could make the timer to be just another epoll event in my queue.
A possible way is maybe, a file-based Timer, like
echo 400;now > /dev/timer ; cat /dev/timer ; # outputs after 400ms "now"
just as an imaginary example. Is there something like this? Or are there other ways i could integrate it with the epoll API?
--Marenz