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

boost.asio related stuff (fiber-aware io_servic etc.)

This commit is contained in:
Oliver Kowalke
2013-06-14 20:37:47 +02:00
parent 1db7951449
commit de3bc64e4f
15 changed files with 621 additions and 23 deletions

View File

@@ -4,7 +4,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_wqueue_SOURCE
#define BOOST_FIBERS_SOURCE
#include <boost/fiber/round_robin.hpp>
@@ -151,7 +151,7 @@ round_robin::yield()
wqueue_.push_back( active_fiber_);
// store active fiber in local var
detail::fiber_base::ptr_t tmp = active_fiber_;
// suspend fiber
// suspend acitive fiber
active_fiber_->suspend();
// fiber is resumed