Interrupts and Polling Flashcards
1
Q
What is polling
A
Polling is the regular checking of an event to see whether it has occurred.
2
Q
What is the advantages of polling
A
It is predictable and will only occur at a specific point
3
Q
What is the disadvantage of polling
A
It is inefficient in terms of the CPU processing time.
4
Q
What is an interrupt
A
An interrupt is a signal with a priority label with either a high or low priority and if it is high the CPU will stop what it is doing and complete the interrupt task
5
Q
What are disadvantages of polling?
A
It can increase the latency of the CPU
It can cause a stack overflow error