RE: Timers with < juiffies tick granularity

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

 



My understanding of timer functions is that they are incapable of defining
when _after_ they expire that they will notify you. Basically, you're at the
mercy of the scheduler as to when you'll be called after your timer expires.
The amount of time you actually wait is dependent on system load and a
little bit of luck. :)

john

> -----Original Message-----
> From: owner-kernelnewbies@nl.linux.org
> [mailto:owner-kernelnewbies@nl.linux.org]On Behalf Of Miguel Garcia
> Lopez
> Sent: Tuesday, October 23, 2001 12:21 AM
> To: kernel newbies
> Subject: Timers with < juiffies tick granularity
> 
> 
> Hello all,
> 
> 	I am interested in using a timer wich wakes up 20 ms. after a
> determinate int. occurs. AFAIK, it is possible to declare 
> timers with a
> timeout which is multiple of 10 ms., but it did not remain quite clear
> to me the moment in time when the timer expires. I understand it is
> guaranteed it will do so *after* 20 ms, but there is no information on
> when exactly after those 20 ms. (say, after N * 10 ms., ASAP, ...). 
> 
> 	Could anyone shed some light please? Also, maybe you 
> could suggest an
> alternative way of implementing this delay different as 
> timers, if there
> were any.
> 
> 	That is all. Thank you in advance for the help,
> 
> 
> 		Miguel García 
> 
> 
> 
> 
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> IRC Channel:   irc.openprojects.net / #kernelnewbies
> Web Page:      http://www.kernelnewbies.org/
> 
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux