|
Posted by Ilya Zakharevich on 01/22/08 21:47
[A complimentary Cc of this posting was sent to
Nomen Nescio
<nobody@dizum.com>], who wrote in article <834de9d5e1f905d8a386067692958f4a@dizum.com>:
> > Could you explain how latency is related to polling?
>
> Could you explain how it's NOT?
Apparently, you never wrote any code which does polling without
latency...
The key is to know when data is available. This requires an adaptive
algorithm in setting up a wake-up timer, nothing more complicated.
After 5-6 cycles, you get the timer tuned-up, and run with minimal
overhead and no latency.
Hope this helps,
Ilya
Navigation:
[Reply to this message]
|