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