The basic difference between a mutex and a semaphore is that, a process that sets a lock the mutex is the one to unlock it. In contrast, it is possible for one process to lock a semaphore and for another to unlock it.
Basic difference between mutex and semaphore is that in mutex the process which initiates the lock is the one which unlock it. In contrast, it is possible for one process to lock a binary semaphore and for another to unlock it.