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 are the different states of a process?

612


What is the function of the control lines in ram?

532


Tell me operating systems used in mobile.

570


Explain the main purpose of an operating system?

616


What do you understand by transaction atomicity?

582






What's the difference between 32 and 64 bit?

524


What items of information about a task might be useful in real time scheduling?

1995


What are read-write locks?

555


What is memory-management unit (mmu)?

643


How do I completely remove all traces of a program?

670


What are ddks?

584


What is the difference between af and whitworth spanners?

651


What are the advantages of multithreaded programming?

555


Can chkdsk get stuck?

551


In a ram description ddr 2 1066mhz “2.5-3-3-8” what do the numbers in quotes signify?

517