3 ms·
Another difference on Windows - Mutex objects can only be released by the thread which acquired them, whereas a semaphore object with a count of one could be ac
by reddiric 14y ago
Another difference on Windows - Mutex objects can only be released by the thread which acquired them, whereas a semaphore object with a count of one could be acquired on one thread and then released on another.
http://msdn.microsoft.com/en-us/library/ms685066(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/ms685066(v=vs.85).as...
http://msdn.microsoft.com/en-us/library/ms685129(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/ms685129(v=vs.85).as...
- noselasd 14y agoThat is also the case for pthread mutexes and posix semaphores.