Re: how to use wait_event_interruptible_timeout with less than 1 jiffie timeout?

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

 



>>>>> [2016-01-20T13:55:54+0530]: "Nicholas Mc Guire" (Nicholas):
,----[ Nicholas ]
| that would still have the same limitation with resepct to time granuarlity
| and as Documentation/timers/
`----
ah yes, that's true.

,----[ Nicholas ]
| if you really need very short delays then you will need to resort to hrtimers
| (and thus be to some extent config dependent) usleep_range(min, max) is the 
| prefered interface in that case.
`----
any specific reason why schedule_hrtimeout(...) cannot be used ?

-- 
kind regards
anupam

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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