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.

semaphore in any operating system

Status
Not open for further replies.

Daljeet12

Member level 4
Joined
Jun 16, 2018
Messages
78
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
648

sounds like a way to handshake and establish communication and
then to break it off to allow the next "user" a chance


 

That is correct, its a kind of flag to let one process know what another is doing so they don't interact with common elements or proceed before a result is ready.

For example: if process one is calculating coordinates for a plotter and process two is driving the X & Y motors, if they ran concurrently the motors could move before their final destination was known. A semaphore raised by process one would say "I'm still busy" and process two would look at it to know when it was safe to start moving.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top