A fix and a test case for Bug#911641
A fix and a test case for Bug#911641 "box.fiber.sleep() works incorrectly if a fiber is attached". Use symmetric scheduling for attached fibers. This allows box.insert(), box.update(), box.delete() box.fiber.sleep() in an attached fiber just the same way as in a detached one. Add tests. Now it's possible to resume() a fiber created in another fiber.
Showing
- include/fiber.h 4 additions, 4 deletionsinclude/fiber.h
- src/fiber.m 5 additions, 20 deletionssrc/fiber.m
- src/tarantool_lua.m 179 additions, 48 deletionssrc/tarantool_lua.m
- test/box/box_fiber.lua 13 additions, 13 deletionstest/box/box_fiber.lua
- test/box/lua.result 21 additions, 3 deletionstest/box/lua.result
- test/box/lua.test 57 additions, 1 deletiontest/box/lua.test
Loading
Please register or sign in to comment