mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-13 00:12:17 +00:00
Merge branch 'develop' of github.com:olk/boost-fiber into develop
This commit is contained in:
@@ -331,7 +331,7 @@ public:
|
||||
void resume() {
|
||||
BOOST_ASSERT( is_running() ); // set by the scheduler-algorithm
|
||||
|
||||
ctx_.resume();
|
||||
ctx_();
|
||||
}
|
||||
|
||||
std::chrono::high_resolution_clock::time_point const& time_point() const noexcept {
|
||||
|
||||
@@ -36,7 +36,7 @@ round_robin::pick_next() {
|
||||
|
||||
std::size_t
|
||||
round_robin::ready_fibers() const noexcept {
|
||||
return rqueue_.empty();
|
||||
return rqueue_.size();
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user