inline void enqueue(WorkItem *item) { mWorkQueue->enqueue(item); }
/** * Adds a job to the work queue to be run. */ void queueWork(const WorkItemClass::FunctionType &work) { mWorkQueue->enqueue(new WorkItemClass(work)); }