This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Token Release Behaviour in Mutex vs Semaphore

Hi,

I have a question regarding the usage and behaviour of Mutex vs Semaphore in RTX v4.7, in which I have two threads that needs to access a critical section.

Obviously Mutex seems to be the more appropriate choice than Semaphore since only 1 token is enough to control access to the critical section...however I need to release the token in ISR and Mutex does not allow this while Semaphore does..

What makes the difference here?

Thanks.