The process of repeatedly testing until a condition becomes true. Polling can be inefficient if the time between tests is short compared with the time it will take for the condition to become true. A polling thread should sleep between consecutive tests in order to give other threads a chance to run. An alternative approach to polling is to arrange for an interrupt to be sent when the condition is true, or to use the
notifymechanism associated with threads.
- Browse Related Terms: Concurrency, curly brackets, daemon thread, garbage collector, interrupt, lightweight process, livelock, multithreaded, parallel programming, polling, preempt, priority level, process, quantum, race hazard, round robin allocation, synchronized, thread starvation, timeslice
Also listed in: