lkml.org 
[lkml]   [2005]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Date
From
SubjectRe: [RFC] A more general timeout specification
> I think the accepted and standard way to do this is to use different 
> "clock"s. For example, in the HRT patch the clocks CLOCK_REALTIME_HR and
> CLOCK_MONOTONIC_HR are defined as high resolution clocks.

Note precision here can be fairly long - some timers dont even
if they run a minute earlier or later or even longer. For others
it can be rather small.

I dont think you want own clocks for all possible numbers. It makes
much more sense to give a numerical time offset.

-Andi
-
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: 2005-05-20 21:11    [W:0.087 / U:1.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site