Lines Matching refs:task
177 /* task data */
196 std::auto_ptr<TaskVFSExplorer> task(static_cast<TaskVFSExplorer*>(pvUser));
197 AssertReturn(task.get(), VERR_GENERAL_FAILURE);
199 VFSExplorer *pVFSExplorer = task->pVFSExplorer;
206 switch(task->taskType)
211 rc = pVFSExplorer->i_updateFS(task.get());
214 rc = pVFSExplorer->i_updateS3(task.get());
223 rc = pVFSExplorer->i_deleteFS(task.get());
226 rc = pVFSExplorer->i_deleteS3(task.get());
233 AssertMsgFailed(("Invalid task type %u specified!\n", task->taskType));
556 /* Initialize our worker task */
557 std::auto_ptr<TaskVFSExplorer> task(new TaskVFSExplorer(TaskVFSExplorer::Update, this, progress));
559 rc = task->startThread();
563 task.release();
673 /* Initialize our worker task */
674 std::auto_ptr<TaskVFSExplorer> task(new TaskVFSExplorer(TaskVFSExplorer::Delete, this, progress));
676 /* Add all filenames to delete as task data */
678 task->filenames.push_back(aNames[i]);
680 rc = task->startThread();
684 task.release();