What is busy waiting?

Answer Posted / preet baidwan

while any process is in its critical section , any other process that tries to enter its critical section must loop continously in the entry code.this continue looping is clearly a problem in a real multiprogramming system. where a single CPU is shared among many processes. Busy waiting wastes CPU cycles that could have been used by some process in more productive way. This type of semaphore is also called a spinlock.

Is This Answer Correct ?    45 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I have two operating systems on one computer?

542


What are the different states of a process?

612


How do I know if I have a 64 bit processor?

538


What do you mean by multithreading?

636


List the issues related to the handheld system.

569






Is x86 better than x64?

511


Binding of instructions and data to memory?

671


How do I stop apps from running in the background?

519


How long does chkdsk f'r take?

582


What resources are used when a thread created? How do they differ from those when a process is created?

525


What is difference between Process and Thread?

599


Will increasing ram speed up my laptop?

567


Is non-pre-emptive scheduling frequently used in a computer? Why?

543


What is option in grep?

543


Explain briefly what is meant by trap and a trapdoor?

627