2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-14 12:42:28 +00:00

some fixes

This commit is contained in:
Oliver Kowalke
2014-09-24 19:18:44 +02:00
parent 244c539a2e
commit 7fb469cd10
39 changed files with 728 additions and 1139 deletions

View File

@@ -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);