mandy_999
Newbie level 2
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
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