Re: FW: [RFC] A more general timeout specification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Perez-Gonzalez, Inaky wrote:

I can get the first sleep.  Suppose I oversleep by X nanoseconds.  I
wake, and get an opaque timeout back.  How do I ask for the new wake
time to be "endtime + INTERVAL"?


endtime.ts += INTERVAL
[we all know opaque is relative too]

Heh. Okay, then what are the rules about what I'm allowed to do with endtime? Joe mentioned there was a bit in there somewhere to denote absolute time.

Or better, use itimers :)

I as actually thinking in terms of implementing itimers on top of your new API.

Chris

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux