Browse Source

fibers that don't immediately crash?!!?!?!!?

eden-orbis-ps4
lizzie 3 weeks ago
parent
commit
11f80226a9
  1. 3
      src/common/fiber.cpp

3
src/common/fiber.cpp

@ -33,6 +33,9 @@ struct Fiber::FiberImpl {
boost::context::detail::fcontext_t context{}; boost::context::detail::fcontext_t context{};
boost::context::detail::fcontext_t rewind_context{}; boost::context::detail::fcontext_t rewind_context{};
boost::context::detail::fcontext_t context{};
boost::context::detail::fcontext_t rewind_context{};
std::mutex guard; std::mutex guard;
std::function<void()> entry_point; std::function<void()> entry_point;
std::function<void()> rewind_point; std::function<void()> rewind_point;

Loading…
Cancel
Save