What is busy waiting?
Answers were Sorted based on User's Feedback
Answer / v.vijayakumar
The repeated execution of a loop of code while waiting for
an event to occur is called busy-waiting. The CPU is not
engaged in any real productive activity during this period,
and the process does not progress toward completion.
| Is This Answer Correct ? | 82 Yes | 11 No |
Answer / 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 |
Answer / 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 |
How much ram do I need 2019?
Write syntax to set JVM Memory as min-256Mb & max 512Mb?
What first program that the computer runs when the power is turn on?
Does dual boot slow down pc?
How can I tell what devices are connected to my usb?
What is a safe state and a safe sequence?
Why interprocess communication is required?
Give an example of a Process State.
How do I recover files from my usb?
when a process is created using fork(). what is shared between parent process and child process. 1.Heap 2. stack 3. shared memory segments 4. I/O handles
2 Answers Hyderabad Central University, nvidia,
What is Marshalling?
What is DRAM? In which form does it store data?