#include <WorkQueue.h>
Public Member Functions | |
| void | push (WorkItem *w) |
| WorkItem * | pop () |
Classes | |
| struct | WorkItemQueue |
|
|||||||||
|
Pop the next work item off the queue, NULL if the queue is empty. The caller is responsible for deleting the returned work item. |
|
||||||||||
|
Push a work item onto the queue in its appropriate spot. The caller yields ownership of w to the queue (i.e. the caller must not delete w, and w must not be on the stack). |
1.4.6