QSem is a quantity semaphore in which the resource is aqcuired
and released in units of one. It provides guaranteed FIFO ordering
for satisfying blocked waitQSem calls.
QSemN is a quantity semaphore in which the resource is aqcuired
and released in units of one. It provides guaranteed FIFO ordering
for satisfying blocked waitQSemN calls.