2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-20 02:32:19 +00:00

pass to correct scheduler

This commit is contained in:
Oliver Kowalke
2016-04-15 22:54:45 +02:00
parent f7d151ac86
commit 8d80a4503c

View File

@@ -358,7 +358,7 @@ context::set_terminated() noexcept {
// remove fiber from wait-queue
wait_queue_.pop_front();
// notify scheduler
scheduler_->set_ready( ctx);
set_ready( ctx);
}
lk.unlock();
// release fiber-specific-data