We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Experts,
In CMSIS RTX how the mutex and binary semaphore is handled ?
For example, in case of mutex is locked for some hardware peripheral drivers whether the task switch will be disabled ? or by any other means ?
Also where the binary semaphore should be used and where the mutex should be used ?
Now when thread A is trying to access the same mutex locked peripheral driver of thread B then thread A will be put into waiting state.
Yes, that is correct.
Note that CMSIS RTOS RTX also implements Priority Inversion. Refer to the documentation ..\CMSIS/RTOS/RTX/Doc/_theory.html#PriorityInversion
Hi Reinhard,
Yeah thats what I exactly want to ensure. Its priority inversion
Thanks for your valuable time.
Regards,
Techguyz