On 3/1/07, Dmitry Baikov <dsbaikov@xxxxxxxxx> wrote: > On 3/2/07, Lee Revell <rlrevell@xxxxxxxxxxx> wrote: > > On older kernels it depends on whether ALSA sequencer is configured to > > use RTC or regular kernel timers. And poll() resolution is 4ms by > > default (HZ=250) not 1ms. > HZ=1000 here :) > > > Anyway mainline Linux kernel has hrtimers now. So shouldn't the > > resolution of all timeouts be much better than 1ms? > > poll() has 1ms resolution by design (API) :( > Hmm then I would consider using whatever userspace API hrtimers expose if it's acceptable to require a recent kernel (or you don't mind implementing lower resolution for legacy systems). Lee ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel