In an ordered semaphore management system a pending state allows threads
not competing for a locked semaphore to bypass one or more threads
waiting for the same locked semaphore. The number of pending levels
determines the number of consecutive threads vying for the same locked
semaphore which can be bypassed. When more than one level is provided the
pending levels are prioritized in the queued order.