17 #ifndef CARTOGRAPHER_COMMON_INTERNAL_TESTING_THREAD_POOL_FOR_TESTING_H_ 18 #define CARTOGRAPHER_COMMON_INTERNAL_TESTING_THREAD_POOL_FOR_TESTING_H_ 37 std::weak_ptr<Task>
Schedule(std::unique_ptr<Task> task)
61 #endif // CARTOGRAPHER_COMMON_INTERNAL_TESTING_THREAD_POOL_FOR_TESTING_H_
bool running_ GUARDED_BY(mutex_)
void NotifyDependenciesCompleted(Task *task) EXCLUDES(mutex_) override
std::map< Task *, std::shared_ptr< Task > > tasks_not_ready_
std::weak_ptr< Task > Schedule(std::unique_ptr< Task > task) EXCLUDES(mutex_) override
std::deque< std::shared_ptr< Task > > task_queue_