On Mon, Apr 28, 2008 at 7:12 AM, Anupam Kapoor <[EMAIL PROTECTED]> wrote:
> ,----
> | Anupam Kapoor <anupam> wrote:
> | >
> | >  
> http://www.kernel.org/doc/man-pages/online/pages/man2/timerfd_create.2.html
> | many thanks michael and mulyadi for the info. i will check it out on a
> | vmware setup tonite.
> `----
> i tried it yesterday night on my test setup, and it seems to work
> fine (as suggested by matthias on the latest 2.5.25 kernel).
>
> one simple question though: should'nt it be possible to simulate the
> interface provided by timerfd using a combination of signalfd +
> getitimer ?

Each timer delivers its notification on a different file descriptor.
We can't do that using signalfd + a traditional timer mechanism.  (By
the way setitimer wouldn't come close -- you can only have one
wall-clock timer set via that API -- POSIX timers allow multiple
timers...)

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to