Skip to content
Snippets Groups Projects
Commit 8f4538cb authored by Ilya Verbin's avatar Ilya Verbin Committed by Vladimir Davydov
Browse files

fiber: do not crash on concurrent fiber:join()

If two or more fibers are yielding in fiber_join_timeout(), one of them
will eventually join and recycle the fiber, while the rest will crash
on accessing the recycled fiber's struct. Fix this by doing fiber_find()
again after each waiting attempt in lbox_fiber_join().

Closes #7489
Closes #7531

NO_DOC=bugfix
parent 73e1059d
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