Native implementation of a semaphore.
Constructs a new Posix Semaphore.
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.
See Implementation
Native implementation of a semaphore.