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.

mutex and semaphore

Status
Not open for further replies.

Kittu20

Member level 2
Member level 2
Joined
Oct 18, 2022
Messages
52
Helped
1
Reputation
2
Reaction score
0
Trophy points
6
Activity points
427
Hi,

I found that if two or more tasks are sharing the same resource then it is necessary to protect them. We use mutex and semaphore to protect resource

Suppose we have a two task that shares CPU time. I want to understand what could be the loss if the resource (CPU ) is not protected
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top