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
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 |
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?
How to swap two String values without using a third variable?
Define Form modules, Class modules and Standard modules
Write a program to find duplicate number from array in minimum time complexity.
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?
what is software
what you mean by mantis in IT interview? why we use mantis? advantage of mantis?
Can we write a method in JSP.If so how?
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)??
Write a Pseudo Code to find the angle between two hands of a clock for a given time.
explain how to make a control visible and invisible during runtime