Messages in this thread | | | Date | Thu, 19 May 2005 09:24:57 -0400 | From | Joe Korty <> | Subject | Re: [RFC] A more general timeout specification |
| |
On Thu, May 19, 2005 at 01:49:11AM +0200, Andi Kleen wrote: > Joe Korty <joe.korty@ccur.com> writes: > > > The fusyn (robust mutexes) project proposes the creation > > of a more general data structure, 'struct timeout', for the > > specification of timeouts in new services. In this structure, > > the user specifies: > > > > a time, in timespec format. > > the clock the time is specified against (eg, CLOCK_MONOTONIC). > > whether the time is absolute, or relative to 'now'. > > If you do a new structure for this I would suggest adding a > "precision" field (or the same with a different name). Basically > precision would tell the kernel that the wakeup can be in a time > range, not necessarily on the exact time specified.
Very cool. Joe - 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/
| |