Releases a semaphore previously acquired by the Acquire function.
|sSemaphore||The semaphore to release. SEMAPHORE.|
Use Release to make the specified semaphore available to be "acquired" by a different thread. If a different thread is currently blocked because it issued a call to Acquire for the same semaphore, Release unblocks that thread. If no thread is waiting for the semaphore to be released, Release increments the semaphore’s value by one, thereby making the semaphore available to be "acquired."
If more than one thread was suspended by a call to Acquire for that semaphore, the threads are released in the order in which they were suspended.