mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-14 12:42:28 +00:00
some fixes
This commit is contained in:
@@ -16,24 +16,24 @@ namespace boost {
|
||||
namespace fibers {
|
||||
|
||||
void
|
||||
round_robin::awakened( detail::worker_fiber * f)
|
||||
round_robin::awakened( detail::fiber_base * f)
|
||||
{
|
||||
BOOST_ASSERT( 0 != f);
|
||||
|
||||
rqueue_.push( f);
|
||||
}
|
||||
|
||||
detail::worker_fiber *
|
||||
detail::fiber_base *
|
||||
round_robin::pick_next()
|
||||
{
|
||||
detail::worker_fiber * victim = 0;
|
||||
detail::fiber_base * victim = 0;
|
||||
if ( ! rqueue_.empty() )
|
||||
victim = rqueue_.pop();
|
||||
return victim;
|
||||
}
|
||||
|
||||
void
|
||||
round_robin::priority( detail::worker_fiber * f, int prio) BOOST_NOEXCEPT
|
||||
round_robin::priority( detail::fiber_base * f, int prio) BOOST_NOEXCEPT
|
||||
{
|
||||
BOOST_ASSERT( f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user