2
0
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:
Oliver Kowalke
2017-02-26 12:15:41 +01:00
parent 8fb2c6fd9c
commit 57acf06cb4
2 changed files with 13 additions and 5 deletions

View File

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