answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is busy waiting with respect to Operating System?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

In a multi processor environment are there some situation where busy waiting is only form of waiting can be used?

in operating system


Difference between batch operating system and multiprogrammed operating system?

multiprogramming-there is no way for single user to keep either cpu or the io divices busy at all times...


Define essential properties of batch operating system?

Batch: Jobs with similar needs are batched together and run through the computer as a group, by an operator or automatic job sequencer. Performance is increased by attempting to keep CPU and I/O devices busy at all times through buffering, off-line operation, spooling, and multiprogramming.


How does the operating system prevent the process from monopolizing a processor?

This is more complex than you know. It is very difficult. The first mechanism is using priority scheduling. Here you start with the "IRQ" - the hardware interrupts where the lower the IRQ, the higher priority. The next is the process priority that the dispatcher use. The OS will be interrupted by the clock, and will then start looking for the highest priority process. Then to avoid all processes to have the same priority, the OS will add / subtract a value depending on "time slice class". The worst you can do is to make a piece of code that is tiny and always executable, like in a tine loop doing very much next to nothing - like reading if a memory location has been changed - a "busy wait". If a process waits for another process to complete, and this indicates the completion in another way than expected, you have it. Like your browser waiting for Java, and you just installed a "security upgrade" of Java.


What are the city sidewalk and busy sidewalk dresses in?

Holiday Style.

Related questions

In a multi processor environment are there some situation where busy waiting is only form of waiting can be used?

in operating system


What is the meaning of the term busy waiting What other kinds of waiting are there in an operating system Can busy waiting be avoided altogether Explain your answer?

_ A process is waiting for an event to occur and it does so by executing instructions. _ A process is waiting for an event to occur in some waiting queue (e.g., I/O, semaphore) and it does so without having the CPU assigned to it. _ Busy waiting cannot be avoided altogether.


Define Busy waiting?

"Busy waiting" is the act of actively waiting for some condition to change. In programming microcontrollers, one might want to wait for a pin to become high or low before continuing with the program. A "busy waiting loop" in C would look like this: ... while(PIN1 != HIGH) ; ... This essentially does nothing but check the value of "PIN1" time after time, waiting for it to become "HIGH". Now, if PIN1 were to become "HIGH", the processor "breaks out" of this busy-waiting loop and continues with the program.


Difference between batch operating system and multiprogrammed operating system?

multiprogramming-there is no way for single user to keep either cpu or the io divices busy at all times...


I am waiting for your answer?

Be more patient, could be busy.


What is busy waiting give fragment of source code in c that shows busy waiting?

while(test-and-set(1)) { //access critical section } busy waiting is constantally checking for a condition for true if it does not again and again check the condition upto condition becomes true


What is the difference between busy waiting and blocking process?

Busy waiting vs. Blocking Busy waiting is preferable when: Scheduling overhead is larger than expected wait time. Process resources are not needed for another tasks Schedule -based blocking is inappropriate (e.g in OS kernel)


Should the hard disk be busy before you login?

The windows operating system is active whether or not you are logged in. Hard drive activity is normal.


What are the advantages and disadvantages of semaphore?

advantage small code ais busy waiting


What does the operating system do till the user gives an input to it?

Most operating systems are busy doing other tasks if the user is not doing anything. A typical example would be having the operating system go into the "idle loop" processing, which is also responsible for things like updating the system clock, etc. Even if a user is idle, there may be other activities on the system, such as network activity, disk activity, etc., so the system is never really truly idle.


Is jesus coming and shall you look busy?

Jesus is comming and we are waiting for that great day.


Why was Aunt Alexandra waiting on the pourch?

She was there to help watch the kids while atticus was busy with the trial