answersLogoWhite

0


Best Answer

When two processes want to print at the same time, process 2 needs to read data and process 1 is the producing process in which, when interrupts during writing, may leave a corrupted structure behind.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What would be a good example of busy waiting in real life situation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Geometry

How long to walk an acre?

If running from zombies probably wouldnt matter. if hiding from zombies you would be too busy saying prayers and last words to care. if walking casually it takes me maybe 5-10 minutes


How much would a tiler charge to lay 12 sq ft of porcelain tiles 600 x 600?

600X 600 would be approximately 27" X 27" tiles and that means each tile is over 4 sq feet if that is so, it is highly unlikely that you really only have 12 sq feet to do, what I suspect you mean is a room 12 feet square which would be 12X12 or 144 square feet, OR you may have a counter top or entry to do & it may in fact be 12 sq feet... Install pricing varies widely from city to city and even from one tradesman to another, I have seen $6 per foot with one guy that is always busy and an hour later another guy offers to work for $2.5 per foot. The quality of the work is another variable, not every Tile setter can do every job. Small jobs are usually priced as a Minimum & that can be anywhere from $200 to $600 flat fee. Minimum labor charges not withstanding, I would use $6 per foot as a minimum if you have over 100 sq feet or $600 minimum if the job is small. Dont forget they will not provide the thinset, trims, backer board or the grout that is all on you too. Hope that helps


Examples of intersecting lines?

Well, honey, intersecting lines are like two cars crashing at an intersection - they meet at one point and then go their separate ways. Picture a big ol' plus sign or the letter "X" - those are some classic examples of intersecting lines. Just remember, when lines intersect, it's like a brief encounter in the busy city streets - they cross paths for a moment and then it's on to the next adventure.


Why is it daytime in America and nighttime in China on the opposite side of the world?

Oh, dude, it's like this thing called the rotation of the Earth, you know? So, when America is facing the sun, it's daytime there, and China is on the other side, like in the shadows, so it's nighttime. It's like a giant game of hide and seek with the sun and the Earth, except the sun always wins.


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


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.


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.


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)


What is busy waiting with respect to Operating System?

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.


What are the advantages and disadvantages of semaphore?

advantage small code ais busy waiting


A cell phone has a busy tone?

A cell phone does not have a busy signal. If the person is on the phone, the call would go to voicemail, or it would go to call waiting.


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


What is an example sentence with As busy as popcorn on a skillet?

The store clerk was as busy as popcorn on a skillet.