15 #include <boost/fiber/all.hpp>
36 virtual StatusCode restoreAfterSuspend()
const;
42 template <
typename Clock,
typename Duration>
44 boost::this_fiber::sleep_until( sleep_time );
45 return restoreAfterSuspend();
49 template <
typename Rep,
typename Period>
51 boost::this_fiber::sleep_for( dur );
52 return restoreAfterSuspend();
57 boost::fibers::fiber_specific_ptr<std::size_t> s_currentSlot{};