- Apr 06, 2022
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Mar 09, 2022
-
-
Georgy Moshkin authored
-
- Mar 03, 2022
-
-
Georgy Moshkin authored
remove `#[macro_use]` and `extern crate` directives add `use <crate>::<macro>` directives
-
- Feb 04, 2022
-
-
Georgy Moshkin authored
Lua now has a type parameter OnDrop, which determines what happens when this instance is dropped. There are now 3 variants of Lua: - type TempLua = Lua<on_drop::Close>; lua_close will be called in drop - type StaticLua = Lua<on_drop::Ignore>; nothing happens in drop - type LuaThread = Lua<on_drop::Unref>; luaL_unref is called in drop LuaThread can only be created from a StaticLua, so we don't to think about what happens when the parent state is closed
-
- Feb 02, 2022
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
tarantool::lua_thread should be used instead of working directly with tarantool::global_lua whenever possible, to avoid poluting the global lua stack and introducing race conditions when working from different fibers
-
- Dec 23, 2021
-
- Dec 21, 2021
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
rename hlua to tlua to avoid conflicts when publishing the crate to crates.io. flatten the repository structure a bit
-
- Dec 20, 2021
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Dec 08, 2021
-
-
Georgy Moshkin authored
-
- Nov 16, 2021
-
-
Georgy Moshkin authored
It uses the underlying tarantool fiber_channel api: a bounded ring buffer based channel on top of the fiber cooperative multitasking runtime.
-
- Nov 11, 2021
-
-
Georgy Moshkin authored
When the join handle get's dropped there's no way to join the fiber anymore. But if it is left joinable at this point, the tarantool internals won't be able to recycle it's memory. So we need to make sure the join handle is joined explicitly at some point in the code.
-
- Oct 20, 2021
-
-
Georgy Moshkin authored
- defer functionality is now hidden behind the "defer" feature - added comments explaining which methods do how many yields
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Oct 15, 2021
-
-
Georgy Moshkin authored
There are now 2 types of fibers * Immediate - a fiber that starts executing immediately * Deferred - a fiber that is scheduled for execution Both of them come in 2 variants, consider the case of Immediate: * Immediate<F, T> - has a fiber function that returns a T * UnitImmediate<F> - has a fiber function that returns nothing. This is an optimized version of Immediate<F, ()>. Same with Deferred and UnitDeferred. All of these fibers are joinable. Non-joinable fibers are not supported yet.
-
- Sep 27, 2021
-
- Jun 10, 2021
-
- Jun 08, 2021
-
-
Anton Melnikov authored
-
- Apr 15, 2021
-
-
Anton Melnikov authored
-
- Apr 01, 2021
-
-
Anton Melnikov authored
-
- Mar 23, 2021
-
-
Anton Melnikov authored
-
- Mar 09, 2021
-
- Mar 05, 2021
-
-
Anton Melnikov authored
-
Anton Melnikov authored
-
- Feb 18, 2021
-
-
Oleg Mikhalev authored
1. Port `box.schema.space.create()` function to `Space::create`. 2. Add tests for `Space::create`. 3. Remove all *.snap and *.xlog files after running tests.
-
- Feb 12, 2021
-
-
Anton Melnikov authored
-
- Feb 03, 2021
-
-
Oleg Mikhalev authored
1. Implement box.session.uid and box.session.euid via lua C API. 2. Add seprate module to import Lua and Tarantool C functions via FFI.
-
- Dec 22, 2020
-
-
Anton Melnikov authored
-
- Nov 18, 2020
-
-
Anton Melnikov authored
-
- Nov 10, 2020
-
-
Anton Melnikov authored
-
Дмитрий Кольцов authored
-
Anton Melnikov authored
-
- Nov 03, 2020
-
-
Anton Melnikov authored
-
- Oct 27, 2020
-
-
Anton Melnikov authored
-