1. A system for identifying one or more of a plurality of queues that store data to be processed, each of the queues being assigned to one of a plurality of streams, the system comprising: a plurality of first logical operators corresponding to the streams, each of the first logical operators to perform a first logical operation on a mask and a stream state vector to generate a result vector for the corresponding stream; a second logical operator to perform a second logical operation on the result vectors from the first logical operators to identify one or more of the queues that may have data to be processed; and a stream state memory to store one or more stream state vectors, each of the stream state vectors identifying whether a corresponding one of the streams can accept more data.