Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/23/01 17:42
Read: times


 
#15950 - RE: Intrrupt vs. Programme control
The only real (dis)advantages of polled or interrupt driven I/O are
1) If you are polling, you can basically not do anything of any magnitude while I/O is in progress.
2) When you are doing something else, the interrupt driven I/O will catch I/O, the polled possibly will not.
3) If you find that you have the time to do something else while polling, Murphy states that that routine will grow till the time is too long.
4) The first time, only, you will find it easier to program polled I/O, but after that interrupts are "been there, done that".

For the above reasons I would never use polled I/O if an interrupt is available.

Have fun,

Erik

List of 5 messages in thread
TopicAuthorDate
Intrrupt vs. Programme control            01/01/70 00:00      
RE: Intrrupt vs. Programme control            01/01/70 00:00      
RE: Intrrupt vs. Programme control            01/01/70 00:00      
RE: Intrrupt vs. Programme control            01/01/70 00:00      
RE: Intrrupt vs. Programme control            01/01/70 00:00      

Back to Subject List