Andy Burns wrote:
> ewholz@gmail.com wrote:
>
>> Do I save anything using interrupt vs. the while loop code?
>
> It depends if the code could do something else useful during the 99.99%
> of the time it *isn't* noticing the door become open or closed ...
>
>
...and on how easy, or hard, it is to do that “something else” while
maintaining a polling rate adequate to the application.
--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|