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

This commit is contained in:
lizzie 2026-01-13 10:42:46 +00:00
parent b9c3a01143
commit 1230579d20
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ struct Fiber::FiberImpl {
boost::context::detail::fcontext_t 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::function<void()> entry_point;
std::function<void()> rewind_point;