Skip to content
Snippets Groups Projects
Commit 9af3dddb authored by Nick Zavaritsky's avatar Nick Zavaritsky Committed by Konstantin Osipov
Browse files

Clear diag, enforce cord->ready fiber policy

* clear diag in fibers, avoid leaks, reused fibers start with clean diag
* the following policy is now enforced: the active fiber must be removed
    from cord->ready, to prevent spurious wakeups due to fiber_wakeup-s in
    the past
* reset fiber->f when fiber is awaiting to be reused in fiber loop,
    instant crash if woken by mistake
parent 060fa392
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment