Il 19/09/2012 09:44, Jan Kiszka ha scritto: >> > Looks good. I think Peter Portante tested something similar, and found no >> > big >> > difference between the two. But it's a good thing and, in my opinion, for >> > non-timerfd OSes we should simply adjust the select() timeout and not >> > bother >> > with signals. > What would be the advantage of timerfd over select? On Linux, both use > hrtimers (and low slack for RT processes). I'm starting to like the > select/WaitForMultipleObjects pattern as it would allow to consolidate > over basically two versions of timers and simplify the code.
Oh, I didn't know this. Even better. Paolo