13#include <boost/fiber/algo/shared_work.hpp>
14#include <boost/fiber/condition_variable.hpp>
15#include <boost/fiber/fiber.hpp>
16#include <boost/fiber/mutex.hpp>
17#include <boost/version.hpp>
18#if ( BOOST_VERSION >= 108400 )
19# include <boost/fiber/stack_allocator_wrapper.hpp>
55 boost::fibers::fiber( boost::fibers::launch::post, std::forward<F>( func ) ).detach();
boost::fibers::condition_variable m_shuttingDown_cv
boost::fibers::algo::shared_work SchedAlgo
void schedule(F &&func)
Schedule work to run on the asynchronous pool.
std::vector< SchedAlgo * > m_schedAlgoList
boost::fibers::mutex m_shuttingDown_mtx
FiberManager(int n_threads)
FiberManager constructor.
std::vector< std::thread > m_threads