Lua: make it possible to create new fibers.
Add box.fiber.create(), box.fiber.resume(), fiber.yield(), box.fiber.detach(). Add tests. Makce fiber cancellation implementation more robust and quick, so that it is actually usable from Lua. Debug.
Showing
- core/fiber.m 70 additions, 60 deletionscore/fiber.m
- core/tarantool.m 1 addition, 2 deletionscore/tarantool.m
- core/tarantool_lua.m 238 additions, 14 deletionscore/tarantool_lua.m
- include/fiber.h 2 additions, 0 deletionsinclude/fiber.h
- test/box/lua.result 123 additions, 0 deletionstest/box/lua.result
- test/box/lua.test 32 additions, 0 deletionstest/box/lua.test
Loading
Please register or sign in to comment