void QueueWork() { MyWorkItem *work1; MyWorkItem *work2; work1 = new MyWorkItem(TotalWorkItems++, true); work2 = new MyWorkItem(TotalWorkItems++, true); WqLow->QueueWork(work1); WqHigh->QueueWork(work2); }
void QueueExtraWork() { MyWorkItem *work1; work1 = new MyWorkItem(TotalWorkItems++, true); WqLow->QueueWork(work1); work1 = new MyWorkItem(TotalWorkItems++, true); WqLow->QueueWork(work1); work1 = new MyWorkItem(TotalWorkItems++, true); WqLow->QueueWork(work1); }