mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-19 14:22:23 +00:00
Now that rqueue_ is an STL-compatible container, priority_scheduler::awakened() can use std::find_if() to search for a context with a lower priority. Now that rqueue_ is an intrusive_list, priority_scheduler::property_change() need not search it: it can simply test with context::ready_is_linked(). Now that it's a doubly-linked list, we can use context::ready_unlink() to unlink. Now that method parameters have been renamed from 'f' to 'ctx', change all references in comments accordingly.