Constructs a new Mutex.
Destructor
Suspends the thread until the semaphore is signaled, or the timeout is reached.
Signals the semaphore.
Checks if the semaphore is signalled then awaits on it if is.
The native implementation defined handle of the semaphore.
A sempahore.