namespace Mutex
A Mutex is used to restrict access to a shared resource in a concurrent environment. The Mutex can be used to acquire a lock for the resource, preventing others using the Mutext from accessing the resource. When finished using the resource, the lock can be released, allowing other waiting processes to acquire a lock.
Companion interface: Mutex
Interfaces
| Name | Description |
|---|---|
Mutex.Constructors | Defines the static Mutex API. |