Using Mutex Semaphores

An application can use a mutual exclusion (mutex) semaphore to protect a shared resource from simultaneous access by multiple threads or processes. For example, if several processes must write to the same disk file, the mutex semaphore ensures that only one process at a time writes to the file.


[Back: Querying an Event Semaphore]
[Next: Creating a Mutex Semaphore]