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

Why is 64 bit called x86?

523


What do you mean by a semaphore?

642


A pair of redundant systems are operating, how would you ensure that when one of them goes down, the other one will take over its operation?

638


Will chkdsk delete my files?

520


What is raid? What are the different raid levels?

540






What is readers-writers problem?

550


Explain the basic functions of process management.

586


What is live boot?

572


How much ram can a 32 bit os use?

524


When would you choose bottom-up methodology?

2111


What is inaddr_any?

544


Can you explain the Virtual memory?

572


What is GRUB?

574


How do I fix error 429?

541


How do I use i3?

581