I read this link https://en.m.wikipedia.org/wiki/Producer–consumer_problem#Using_semaphores
Here they have said that the difference between mutex and binary semaphore is that mutex uses concept of "ownership" which means the process which decrements the variable can only increment it.
Can anyone tell me a situation or an instance when mutex is appropriate and binary semaphore will fail? I think that using a binary semaphore will always guarantee mutual exclusion