9#include <FMEThirdPartyWarningsDisable.h>
13#include <FMEThirdPartyWarningsRestore.h>
42 std::shared_ptr<Context> context;
43 std::shared_ptr<Context::work> work;
45 std::vector<std::thread> pool;
#define ASYNCHRONOUSIO_EXPORT
A thread pool executing an asio::Context's run method with a bunch of threads.
ThreadPool(const ThreadPool &)=delete
ThreadPool & operator=(const ThreadPool &)=delete
ThreadPool(std::shared_ptr< Context > context, const unsigned short num_threads)
Target mlrange_cast(Source arg)
Generic version of checked ML casts.