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 / wkrtos

When a process is waiting for some event to take place, most
likely for the needy resources to be relased by other
process or processes that are currently utilizing the
resources, such as an I/O device, it is at a blocked state.
Upon the availability of waited resources, after the
resources being relased, the process will transit to a ready
state from this blocked state.

Is This Answer Correct ?    30 Yes 16 No

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

Answer / ravi a joshi

I don't think there is any relation between processor state
and process state. They are independent. However they are
loosely coupled through the operating system. Assuming that
the OS you are using is multi-processing OS, then, whenever
a process P1 is waiting for some resource, the OS scheduler
puts P1 in sleep mode and allows other scheduled processes
to run. Hence, the processor state will always be running.

In case, there are no more processes to run, then, the
processor enters NOP or WAIT state.

Is This Answer Correct ?    14 Yes 4 No

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

Answer / namita garhwal

it is known as waiting state

Is This Answer Correct ?    14 Yes 5 No




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

Answer / guest

When a process is waiting for event it is in blocked state

when a process is waiting for resource it is in pending
state

Is This Answer Correct ?    18 Yes 10 No

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

Answer / sunita

Pending(term used in RTOS) and Blocked(term used in Windows)
are the same state.

Is This Answer Correct ?    11 Yes 6 No

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

Answer / kiran.m.v

If the system is waiting for an event and no other process
is running, then the processor will be running the 'system
idle loop', as a state we can say its Pending or Blocked.

Is This Answer Correct ?    11 Yes 6 No

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

Answer / nithin ganesh

Since they have asked for the state of the processor it
will be in the idle state.idle state is nothing but a
lowest priority which is executed to keep the processor
busy always...

Is This Answer Correct ?    6 Yes 4 No

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

Answer / kum

The answer 6 seems to be closer. It all depends on whether
the system is multitasking or not.

If it is multitasking: The process that is waiting for an
event to occur and in user mode, there are other processes
waiting to be scheduled then possibly one of the processes
will be eventually scheduled by preempting the current process.

If it is multitasking and the process is waiting for an
event to occur and in kernel mode?????

If it is not multitasking: Very trivial case needs no
elaboration.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / kuga

Processes can be in one of three states: running, ready, or
waiting. The running state means that the process has all
the resources it need for execution and it has been given
permission by the operating system to use the processor.
Only one process can be in the running state at any given
time. The remaining processes are either in a waiting state
(i.e., waiting for some external event to occur such as user
input or a disk access) or a ready state (i.e., waiting for
permission to use the processor). In a real operating
system, the waiting and ready states are implemented as
queues which hold the processes in these states. The
animation below shows a simple representation of the life
cycle of a process

Is This Answer Correct ?    3 Yes 2 No

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

Answer / senthil

Pending state

Is This Answer Correct ?    10 Yes 11 No

Post New Answer



More RTOS AllOther Interview Questions

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

6 Answers   TCS,


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 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   L&T, Emulogic, Bosch, Qualcomm,


What is a mission critical system ?

3 Answers  


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

14 Answers   MTS,






what is major concerns about any RTOS selection ?

4 Answers   Bosch,


Explain the difference between microkernel and macro kernel.

5 Answers   Tech Mahindra, Infosys,


what is the need of creating 4GB of pages in linux?

1 Answers   TCS,


What is a Real-Time System ?

5 Answers  


what is difference between IRQ and FRQ ?

4 Answers   Bosch,


What is priority inversion ? and What is the solution ?

6 Answers   Wipro, Qualcomm, Tandberg,


If two processes which shares same system memory and system clock in a distributed system, What is it called?

7 Answers  






Categories