Saturday, 15 March 2014

operating system - Does select() use kernel timer( in jiffies ) or high res timer -



operating system - Does select() use kernel timer( in jiffies ) or high res timer -

i have application in have sleep short time (in order of few micro seconds ). fortunately linux kernel 2.8.* supports high res timers.

i have 2 options sleep

nanosleep select() timeout.

i take utilize select() quite portable. select() utilize normal kernel timers ( jiffies) or uses hi res timers ?

can provide sleep functionality in order of microseconds ?

linux-kernel operating-system sleep linux-device-driver

No comments:

Post a Comment