What is the state of the processor, when a process is
waiting for some event to occur?

Answers were Sorted based on User's Feedback



What is the state of the processor, when a process is waiting for some event to occur?..

Answer / ramu

They have asked the state of processor, so.. should it be
blocked/pending or it should be running?? as there is a
possiblity that processor may be executing other processes
right??

Is This Answer Correct ?    5 Yes 6 No

What is the state of the processor, when a process is waiting for some event to occur?..

Answer / santosh

Processor may be executing other task(high priority) or in
Idle state or in power saving mode in case device is
operating from battery.

Is This Answer Correct ?    1 Yes 2 No

What is the state of the processor, when a process is waiting for some event to occur?..

Answer / senthil

Sorry, the answer is
Blocked state

Is This Answer Correct ?    6 Yes 9 No

What is the state of the processor, when a process is waiting for some event to occur?..

Answer / tejas gawade

processor will enter in "idle loop" in which "sleep"
instruction will be executed to move processor to sleeping
i.e. power saving mode.
In this state processor can accept interrupts and come out
of sleeping state.
So actually processor "do nothing" in this situation.

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More RTOS AllOther Interview Questions

I have been working on one thread which manage and control a couple of circular buffers. It has api for other thread to access. As the thread grows bigger and bigger, I split it as 3 to 4 threads which need to share common buffers, and also their api could be used by other threads, (not these three threads). Inside api, I also allow other threads to access these three threads' common buffers(more than one buffer). SO I have to use mutex to avoid race condition . But I found mutex will be everwhere in all the threads when they update the common buffer. I am wondering whether I could reduce mutex usage(more mutex will hure my system performance). any ideas for how to reduce mutex usage meanwhile to avoid race condition. Thanks

2 Answers  


what are the rules u follow when u r writing critical section of code?

6 Answers   TCS,


what is major concerns about any RTOS selection ?

4 Answers   Bosch,


what is difference between IRQ and FRQ ?

4 Answers   Bosch,


Give an example of microkernel.

13 Answers   Global Edge, Samsung,






What is a mission critical system ?

3 Answers  


What do you mean by deadlock?

8 Answers   Bosch,


Describe different job scheduling in operating systems.

9 Answers  


What is a Real-Time System ?

5 Answers  


What is the difference b/n any GPOS and RTOS?Give suitable examples or characteristic of RTOS to support your answer. What changes can be done in a GPOS to make it work like a RTOS? What basic features will you support, if you have to design a RTOS?

8 Answers   Bosch, Emulogic, L&T, Qualcomm,


What is the important aspect of a real-time system ?

6 Answers  


What is priority inversion ? and What is the solution ?

6 Answers   Qualcomm, Tandberg, Wipro,


Categories