Skip to content
Snippets Groups Projects
  1. Dec 01, 2022
  2. Nov 23, 2022
  3. Nov 14, 2022
  4. Nov 11, 2022
  5. Nov 02, 2022
  6. Oct 13, 2022
  7. Sep 01, 2022
  8. Aug 03, 2022
  9. Jul 20, 2022
    • Georgy Moshkin's avatar
      fix: panic & load time failure if symbols are missing · 0e18143a
      Georgy Moshkin authored
      Since some time around tarantool 2.10 most of the symbols have been
      closed, but some of our apis were still relying on them. This commit
      fixes these issues.
      
      Don't link against symbols known to be missing in tarantool 2.10. These
      are:
      - decimal_*
      - fiber_channel_*
      - ipc_value_*
      - tuple_field_raw_by_full_path
      
      Instead use `dlsym` to lookup these symbols at runtime.
      The lookup is only done once per symbol.
      
      Also don't use `BoxTuple::data` unless `tuple_field_raw_by_full_path` is
      present, otherwise the structure of `BoxTuple` cannot be assumed.
      
      TODO: maybe don't ever use `BoxTuple::data`
      0e18143a
  10. Jun 23, 2022
  11. Jun 22, 2022
  12. Jun 20, 2022
  13. Apr 29, 2022
  14. Apr 13, 2022
  15. Apr 12, 2022
  16. Apr 06, 2022
  17. Mar 09, 2022
  18. Mar 03, 2022
  19. 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
  20. Feb 02, 2022
  21. Dec 23, 2021
  22. Dec 21, 2021
  23. Dec 20, 2021
  24. Dec 08, 2021
  25. Nov 16, 2021
  26. 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
  27. Oct 20, 2021
  28. 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
  29. Sep 27, 2021
Loading