Re: [PATCH] Revised timerfd() interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Kerrisk
Date: Tuesday, September 4, 2007 - 5:08 pm

Davide,


Did I miss something?  Is it not the case that as soon as the
library returns a handle, rather than an fd, then the whole
advantage of timerfd() (being able to select/poll/epoll on 
the timer as well as other fds) is lost?  


POSIX may goof in places, but in general it is the result of
many smart people thinking about how to design/standardize APIs.
So the onus is on us to explain why they got this point wrong.
And it is not merely POSIX that did things things in the
way I've described: so did the earlier setitimer()/getitimer().

Cheers,

Michael
-- 
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 

Want to help with man page maintenance?  
Grab the latest tarball at
http://www.kernel.org/pub/linux/docs/manpages , 
read the HOWTOHELP file and grep the source 
files for 'FIXME'.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Fri Aug 24, 11:41 pm)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Thu Aug 30, 5:01 am)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Tue Sep 4, 1:03 am)
Re: [PATCH] Revised timerfd() interface, Andrew Morton, (Tue Sep 4, 1:18 am)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Tue Sep 4, 1:24 am)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Tue Sep 4, 8:25 am)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Tue Sep 4, 8:39 am)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Tue Sep 4, 1:49 pm)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Tue Sep 4, 3:41 pm)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Tue Sep 4, 3:44 pm)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Tue Sep 4, 5:08 pm)
Re: [PATCH] Revised timerfd() interface, Andrew Morton, (Wed Sep 5, 5:02 am)
Re: [PATCH] Revised timerfd() interface, Denys Vlasenko, (Wed Sep 5, 5:12 am)
timerfd redux, Michael Kerrisk, (Wed Sep 5, 8:32 am)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Wed Sep 5, 9:14 am)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Wed Sep 5, 9:23 am)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Wed Sep 5, 12:57 pm)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Wed Sep 5, 3:50 pm)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Wed Sep 5, 4:45 pm)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Wed Sep 5, 11:58 pm)
Re: [PATCH] Revised timerfd() interface, Davide Libenzi, (Thu Sep 6, 4:37 pm)
Re: [PATCH] Revised timerfd() interface, Michael Kerrisk, (Sun Sep 9, 8:15 pm)
Re: timerfd redux, Andrew Morton, (Wed Sep 12, 7:39 pm)
Re: timerfd redux, Michael Kerrisk, (Wed Sep 12, 11:14 pm)
Re: timerfd redux, Michael Kerrisk, (Thu Sep 13, 1:13 am)
Re: timerfd redux, Andrew Morton, (Thu Sep 13, 1:20 am)