Searched refs:FunctionTask (Results 1 – 3 of 3) sorted by relevance
63 class FunctionTask : public SelfDeletingTask {65 explicit FunctionTask(std::function<void(Thread*)>&& func) : func_(std::move(func)) {} in FunctionTask() function
379 std::unique_ptr<SelfDeletingTask> result(new FunctionTask([](Thread*) {})); in CollectClearedReferences()
1072 pool->AddTask(self, new FunctionTask(std::move(function))); in LoadImageFile()