fiber: phohibit fiber self join
In this case join will just hang. Instead let's raise an error in case of Lua API and panic in case of C API. Closes #10196 NO_DOC=minor
Showing
- changelogs/unreleased/gh-10196-fix-fiber-self-join-hang.md 3 additions, 0 deletionschangelogs/unreleased/gh-10196-fix-fiber-self-join-hang.md
- src/lib/core/fiber.c 3 additions, 0 deletionssrc/lib/core/fiber.c
- src/lib/core/fiber.h 1 addition, 0 deletionssrc/lib/core/fiber.h
- src/lua/fiber.c 4 additions, 0 deletionssrc/lua/fiber.c
- test/app-luatest/fiber_test.lua 15 additions, 0 deletionstest/app-luatest/fiber_test.lua
Loading
Please register or sign in to comment