mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-21 02:52:18 +00:00
remove main-context from dispatcher-context wait queue
- on termination the maincontext joins the dispatcher context
This commit is contained in:
@@ -234,8 +234,6 @@ scheduler::set_ready( context * ctx) noexcept {
|
||||
// unlink it from sleep-queue
|
||||
ctx->sleep_unlink();
|
||||
}
|
||||
// for safety unlink it from ready-queue
|
||||
ctx->ready_unlink();
|
||||
// push new context to ready-queue
|
||||
algo_->awakened( ctx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user