20 #include <boost/fiber/all.hpp>
41 virtual StatusCode restoreAfterSuspend()
const;
47 template <
typename Clock,
typename Duration>
49 boost::this_fiber::sleep_until( sleep_time );
50 return restoreAfterSuspend();
54 template <
typename Rep,
typename Period>
56 boost::this_fiber::sleep_for( dur );
57 return restoreAfterSuspend();
62 boost::fibers::fiber_specific_ptr<std::size_t> s_currentSlot{};