Busy waiting is a method whereas a taskwaits for a given
event by continiously checking for an event to occur. What
is the main problem with this approach



Busy waiting is a method whereas a taskwaits for a given event by continiously checking for an eve..

Answer / Shuchi Garg

The main problem with busy waiting (polling) is that it leads to inefficient use of system resources. By continuously checking for an event, the processor spends a significant amount of time in idle loops instead of performing other tasks. This can cause the CPU to waste resources, and may lead to issues such as increased power consumption, reduced responsiveness, and even thread starvation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?

1 Answers  


How to swap two String values without using a third variable?

8 Answers   Infosys,


Define Form modules, Class modules and Standard modules

1 Answers   Global Hunt,


Write a program to find duplicate number from array in minimum time complexity.

1 Answers   Genpact,


I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?

0 Answers  


what is software

2 Answers  


what you mean by mantis in IT interview? why we use mantis? advantage of mantis?

1 Answers  


Can we write a method in JSP.If so how?

1 Answers   HCL,


Given three sides of a triangle. Write the Program to determine whether the triangle is : 1) Invalid 2) Right Angled 3) Isoscales 4) Equilateral 5) Not Special An Isoscales right angled triangle should be taken as a Right Angled Triangle

3 Answers   FFC, Goldman Sachs, Student,


HOW TO FIND NUMBER OF TWOS IN N!(N FACTORIAL)??

1 Answers  


Write a Pseudo Code to find the angle between two hands of a clock for a given time.

6 Answers   Goldman Sachs, HCL,


explain how to make a control visible and invisible during runtime

3 Answers  


Categories