hi... On Thu, Mar 5, 2009 at 12:50 AM, Asim <linkasim@xxxxxxxxx> wrote: > Hi, > > I would like to wait in a while loop for two clock ticks. I was > wondering how do I do this. I do not want to use jiffies since > interrupts may be disabled in this loop. Any help? assumming your processor running constantly (no processor frequency changing such as using frequency governor), perhaps you can use this idea: check how many empty loops are done when two ticks are done. then use it loop as many as two ticks. regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ