Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

a process may block on a call to an I/O device

Status
Not open for further replies.

Daljeet12

Member level 4
Member level 4
Joined
Jun 16, 2018
Messages
78
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
648
I am trying to understand meaning of following statement shown in page https://en.wikipedia.org/wiki/Process_state
For example, a process may block on a call to an I/O device or Processes also commonly block when they require user input

I/O stand for input/ output device. can anyone give at least three real stuation to get idea
 

simple example:
Your program prints "press enter to continue". Until you press the key your program doesn't continue, it is 'blocked'.

In electronic terms, it means your program is held up waiting for a signal from somewhere else before it can continue. For example, it might be in a loop waiting for a switch to close or an I/O pin to go to a logic high.

With careful programming it is possible in most cases to code in a non-blocking way so other processes can continue while still waiting for the input to change.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top