timerfd() and system call review
Posted Aug 17, 2007 11:49 UTC (Fri) by Octavian
In reply to: timerfd() and system call review
Parent article: timerfd() and system call review
> Why is this going into the kernel? It is trivial to achieve the same effect in userspace with pipe() and a thread sleeping in pthread_cond_timedwait().
The pipe() mechanism to achieve synchr. timer events wrt epoll()/select() are considered a 'trick' I suppose (which I've used in my own projects too). So, in the end we do not need to remember this trick at least, that's an achievement.
to post comments)