mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-12 12:02:54 +00:00
Instead, when the main fiber is passed to awakened(), stash it in a separate slot and make pick_next() return it only when the shared queue is empty. Update ready_fibers() to include a non-empty main_fiber slot.
5.4 KiB
5.4 KiB