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

This commit is contained in:
lizzie 2026-01-13 10:42:46 +00:00
parent 5063dc7965
commit 14ebcf5b60
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;