Patent ID: 9594595
Date: 2017-03-14
CPC Classifications: G06F

Claim:
1. A system comprising: a shared queue configured to maintain one or more work assignments including a first work assignment, wherein each of the one or more work assignments comprise a work element and an acquired bit set to either a first or second value; a first queue configured to store a first packet that includes a pointer to a respective work element; a second queue configured to store a second packet that includes a pointer to the respective work element; a first processing unit in communication with the first queue configured to hold a first plurality of packets including the first packet; a second processing unit in communication with the second queue configured to hold a second plurality of packets including the second packet; wherein the one or more work assignments are processed by either the first processing unit or the second processing unit; wherein the first processing unit is configured to: retrieve the first packet from the first queue, determine the pointer to the first work assignment based on the first packet, evaluate if the acquired bit associated with the first work assignment is set to the first or second value, if the acquired bit is set to the first value, retrieve the work element for the first work assignment, set the acquired bit to the second value and execute the work element, and if the acquired bit is set to the second value, retrieve another packet from the first plurality of packets; and wherein the second processing unit is configured to: