lkml.org 
[lkml]   [2007]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Revised timerfd() interface
From
Date
Sorry for the late commentary...as I looked this over, one thing popped
into my mind....
> b) Make the 'clockid' immutable: it can only be set
> if 'ufd' is -1 -- that is, on the timerfd() call that
> first creates a timer.

timerfd() is looking increasingly like a multiplexor system call in
disguise. There is no form of invocation which uses all of the
arguments. Are we sure we wouldn't rather have something like:

timerfd_open(clock);
timerfd_adjust(fd, new_time, old_time);

?

jon
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-15 16:51    [from the cache]
©2003-2011 Jasper Spaans