Skip to content
Snippets Groups Projects
  1. Apr 06, 2022
  2. Mar 09, 2022
  3. Mar 03, 2022
  4. Feb 04, 2022
    • Georgy Moshkin's avatar
      fix: lua_state now returns a LuaThread · e01ae0f2
      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
      e01ae0f2
  5. Feb 02, 2022
  6. Dec 23, 2021
  7. Dec 21, 2021
  8. Dec 20, 2021
  9. Dec 08, 2021
  10. Nov 16, 2021
  11. Nov 11, 2021
    • Georgy Moshkin's avatar
      fix(fiber): join handles panic if dropped unjoined · b24883a8
      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.
      b24883a8
  12. Oct 20, 2021
  13. Oct 15, 2021
    • Georgy Moshkin's avatar
      feat: new fiber abstractions · 2164a7c2
      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.
      2164a7c2
  14. Sep 27, 2021
  15. Jun 10, 2021
  16. Jun 08, 2021
  17. Apr 15, 2021
  18. Apr 01, 2021
  19. Mar 23, 2021
  20. Mar 09, 2021
  21. Mar 05, 2021
  22. Feb 18, 2021
    • Oleg Mikhalev's avatar
      feature(space) add `create` function · 16e0a42b
      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.
      16e0a42b
  23. Feb 12, 2021
  24. Feb 03, 2021
  25. Dec 22, 2020
  26. Nov 18, 2020
  27. Nov 10, 2020
  28. Nov 03, 2020
  29. Oct 27, 2020
Loading