What is busy waiting?

Answer Posted / mohd dilshad

busy-waiting or spinning is a technique in which a process
repeatedly checks to see if a condition is true, such as
whether keyboard input is available, or if a lock is
available. Spinning can also be used to generate an
arbitrary time delay, a technique that was necessary on
systems that lacked a method of waiting a specific length
of time. On modern computers with widely differing
processor speeds, spinning as a time delay technique often
produces unpredictable results unless code is implemented
to determine how quickly the processor can execute a "do
nothing" loop.

Is This Answer Correct ?    18 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a rootkit virus?

539


What are the different functions of an operating system?

588


How to take backup using active directory recyclebin concept

1848


What are the three conditions that must be present for deadlock to be possible?

513


What is a semaphore? What are the different types of semaphores?

562






Define demand paging?

586


What are the functions of operating system?

578


What is option in grep?

535


What are the five types of operating system?

561


What are types of file?

528


What is the purpose of an I/O status information?

626


What is process synchronization?

617


What are its main functions?

580


What are the 3 types of operating systems?

534


How much ram can 64 bit use?

501