[Tarantool-patches] [PATCH v2 0/2] fiber: prevent fiber_join from misuse
Cyrill Gorcunov
gorcunov at gmail.com
Wed Apr 28 13:22:49 MSK 2021
v2 (by Vlad):
- Use explicit != 0 form for flag testing
- in Lua's fiber:join() drop the test for FIBER_IS_JOINABLE
flag since now we do the same on lower level
- extend tests
- provide changelog
issue https://github.com/tarantool/tarantool/issues/6046
branch gorcunov/gh-6046-fiber-join-2
Cyrill Gorcunov (2):
fiber: fiber_join -- drop redundat variable
fiber: fiber_join -- don't crash on misuse
.../unreleased/gh-6046-fiber-join-misuse.md | 6 ++++
src/lib/core/fiber.c | 12 +++++--
src/lua/fiber.c | 10 ++++--
test/app/fiber.result | 34 +++++++++++++++++++
test/app/fiber.test.lua | 12 +++++++
test/unit/fiber.cc | 7 ++++
6 files changed, 75 insertions(+), 6 deletions(-)
create mode 100644 changelogs/unreleased/gh-6046-fiber-join-misuse.md
base-commit: f44663ed75769a20095ff09f728e9b29f9319dc5
--
2.30.2
More information about the Tarantool-patches
mailing list