version 3.13
benoit-germain
released this
03 Dec 14:16
·
426 commits
to master
since this release
- Lua 5.4 support
- New API lanes.set_thread_affinity()
- Add support for user-provided __gc in deep userdata
- Add deep user data cloning support though __lanesclone metamethod
- Deep userdata must embed DeepPrelude to save an allocation (also changes Deep protocol)
- set_debug_threadname implemented with win32 pthread
- lane:join() now returns nil, "timeout" in case of timeout
- Don't test __lanesignore for POD types (-> slightly faster when trasnfering lots of data)
- protected_allocator option replaced by something else more flexible (see documentation)
- Version is available in public header
- More complete deep userdata sample
- Raise an error instead of crashing when attempting to transfer a non-deep full userdata
- Make sure any linda operation that can raise an error won't ever leave a mutex unreleased
- Support for integer formatting in verbose errors
- Fix a stack overflow when copying large tables with verbose_errors option enabled
- Compilation and runtime fixes for LuaJIT, MacOS and Android.
- Fix crash trying to use a deep-aware module while not requiring Lanes
- Fix an internal error trying to call on_state_create in a lane without any libs loaded
- Fix potential crash at application shutdown when deep userdata were created before Lanes is required
- Lots of internal code changes (function split, file split, type declarations moved around, etc.)