16 auto* main_algo_ptr =
new SchedAlgo(
true );
18 #if ( BOOST_VERSION >= 108400 )
19 boost::fibers::initialize_thread( main_algo_ptr,
20 boost::fibers::make_stack_allocator_wrapper<boost::fibers::default_stack>() );
22 boost::fibers::context::active()->get_scheduler()->set_algo( main_algo_ptr );
29 #if ( BOOST_VERSION >= 108400 )
30 boost::fibers::initialize_thread( algo_ptr,
31 boost::fibers::make_stack_allocator_wrapper<boost::fibers::default_stack>() );
33 boost::fibers::context::active()->get_scheduler()->set_algo( algo_ptr );