sleep in microsecond granularity in linux
- From: Leo Prasath <leo.prasath@xxxxxxxxx>
- Date: Tue, 18 Jan 2011 17:33:34 -0600
Hi there,
Is it possible to sleep in granularity of microseconds ?
From what i know, there is msleep() which can sleep in millisecondsand there is udelay() which busy waits for time in microsecond
granularity.
But I need to sleep ( not busy wait ) for granularity of microseconds ...
Is there a way to code a new API in linux kernel to allow this ? For
example using interrupts ..
Or is there a way to some external hardware timer cards that issue
interrupts after certain usecs ?
Any help / pointers/ tips will be very appreciated.
Thanks,
-Leo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: sleep in microsecond granularity in linux
- From: David Brown
- Re: sleep in microsecond granularity in linux
- Prev by Date: Re: [PATCH] ocfs2: Make OCFS2_FS depend on CONFIGFS_FS
- Next by Date: Re: [patch] fs: aio fix rcu lookup
- Previous by thread: [PATCH 1/2] fb: avoid oops when fb is removed by remove_conflicting_framebuffers
- Next by thread: Re: sleep in microsecond granularity in linux
- Index(es):
Relevant Pages
|