Semaphore Object
The RTSS semaphore object is a synchronization object that maintains
a count between zero and a specified maximum value. The count is decreased
by one each time a thread completes a wait for the semaphore object; the
count is increased by a variable amount at the semaphore release. When
the count reaches zero, the semaphore object's state is no longer signaled
and no more threads can complete a wait on the semaphore object until
some thread increases the count.
Topics: