Patent ID: 6950887

Claim:
An apparatus, comprising: a queue; a programmable event conditioning logic unit to receive a queue enter signal, a queue exit signal, and a queue not empty signal from the queue, the queue enter signal to be asserted in response to an entry entering the queue, the queue exit signal to be asserted in response to an entry exiting the queue, and the queue not empty signal to indicate that the queue contains at least one entry; a first counter to increment in response to a first increment event signal delivered by the event conditioning logic unit, the first counter to decrement in response to a first decrement event signal delivered by the event conditioning logic unit; and a second counter to increment in response to a second increment event signal delivered by the event conditioning logic unit, the second counter to decrement in response to a second decrement event signal delivered by the event conditioning logic unit, wherein assertion of at least one of the second increment event signal and the second decrement event signal is based on a value of the first counter.