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.

how to achieve task deletion & priority inversion

Status
Not open for further replies.

mandy_999

Newbie level 2
Joined
Jun 25, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
priority inversion and semaphore deletion

hello friends

I am using binary semaphore in my project.
i want to achieve 2 things
1) i want to provide task deletion safety
2) i want to protect against the priority inversion problem.

I can achieve this using mutual exclusion semaphore using options such as SEM_INVERSION_SAFE & SEM_DELETE_SAFE
these options are not supported by binary semaphore
BUT I WANT TO achieve this using binary semaphore because mutual exclusion semaphore does not support task synchronisation.

Can any one tell me how to achieve this using binary semaphore
 

A mutex is a binary semaphore that prevents priority inversion. So it should do what you want. It is main function is mutual exclusion and task synchronization.
Which RTOS do you use?
Can you share your code.
--
Amr Ali
www.embedded-tips.blogspot.com
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top