/* * Copyright (c) Facebook, Inc. and its affiliates. * * This software may be used and distributed according to the terms of the * GNU General Public License version 2. */ #include "eden/fs/utils/UnboundedQueueExecutor.h" #include #include #include #include namespace facebook { namespace eden { UnboundedQueueExecutor::UnboundedQueueExecutor( size_t threadCount, folly::StringPiece threadNamePrefix) : executor_{std::make_unique( threadCount, std::make_unique>(), std::make_unique(threadNamePrefix))} {} UnboundedQueueExecutor::UnboundedQueueExecutor( std::shared_ptr executor) : executor_{std::move(executor)} {} } // namespace eden } // namespace facebook