Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Finalize version 3.16.2v3.16.2 | Benoit Germain | 2023-08-17 | 5 | -5/+9 |
| | |||||
* | Merge pull request #219 from Mitalie/fix-linux-crash | Benoit Germain | 2023-08-17 | 1 | -4/+4 |
|\ | | | | | Prevent crash on linux as non-root | ||||
| * | Prevent crash on linux as non-root | Anssi Mäkinen | 2023-08-17 | 1 | -4/+4 |
|/ | | | | Fixes #218 | ||||
* | Minor tweaksv3.16.1 | Benoit Germain | 2023-08-16 | 8 | -16/+13 |
| | |||||
* | new .internal_allocator configuration IUNTESTED) | Benoit Germain | 2023-08-09 | 13 | -62/+83 |
| | | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS. | ||||
* | tweaks to linux thread priority management | Benoit Germain | 2023-07-28 | 4 | -102/+122 |
| | |||||
* | Update comparison.html | Benoit Germain | 2023-07-28 | 1 | -2/+2 |
| | |||||
* | moonjit support | Benoit Germain | 2022-03-09 | 12 | -75/+177 |
| | |||||
* | Merge pull request #209 from jlainema/patch-1 | Benoit Germain | 2022-03-04 | 1 | -1/+1 |
|\ | | | | | Update lanes-3.16.0-0.rockspec | ||||
| * | Update lanes-3.16.0-0.rockspec | jlainema | 2022-03-03 | 1 | -1/+1 |
|/ | | | does not install from the rockspec without using git for url format | ||||
* | Merge pull request #208 from eligovision/lanes_lanesclone3args_fixv3.16.0 | Benoit Germain | 2022-03-01 | 1 | -4/+4 |
|\ | | | | | Bug in __lanesclone with 3 parameters mechanism fixed (index was wron… | ||||
| * | Bug in __lanesclone with 3 parameters mechanism fixed (index was wrong in ↵ | valid-ptr | 2022-03-01 | 1 | -4/+4 |
|/ | | | | inter_copy_function); Some comments improved | ||||
* | deep_test tweaks | Benoit Germain | 2022-02-27 | 3 | -13/+186 |
| | |||||
* | Make allocator threadsafe by default when running LuaJIT, because LuaJIT ↵ | Benoit Germain | 2022-02-21 | 5 | -21/+25 |
| | | | | allocator is not | ||||
* | use malloc/free for keeper control structure when compiling for LuaJIT | Benoit Germain | 2022-02-21 | 1 | -6/+18 |
| | |||||
* | Update deep_test.vcxproj.user | Benoit Germain | 2022-02-21 | 1 | -10/+35 |
| | |||||
* | some fixes in deep_test vcproj for LuaJIT-2.1.0-beta3 testing | Benoit Germain | 2022-02-21 | 2 | -0/+85 |
| | |||||
* | NEVER use allocator obtained from lua_getallocf to allocate stuff manually ↵ | Benoit Germain | 2022-02-17 | 6 | -28/+77 |
| | | | | when compiling for LuaJIT | ||||
* | __lanesclone is now called only once with 3 parameters dest, source, size -> ↵ | Benoit Germain | 2022-02-08 | 8 | -157/+142 |
| | | | | BREAKS CUSTOM DEEP USERDATA API | ||||
* | Version bump | Benoit Germain | 2022-02-07 | 3 | -5/+7 |
| | |||||
* | A Lane's Lua state uses the Universe-defined allocator by default | Benoit Germain | 2022-02-07 | 1 | -2/+3 |
| | |||||
* | removed explicit calls to malloc/free | Benoit Germain | 2022-02-07 | 5 | -30/+46 |
| | | | | Lane and linda userdata were allocated with malloc/free, preventing embedders from fully controlling memory operations. Now all internal Lanes allocations go through the master state alloc function. | ||||
* | Update deadlock.lua | Benoit Germain | 2022-02-07 | 1 | -0/+2 |
| | |||||
* | Fix rockspec deprecated github url | Benoit Germain | 2022-02-07 | 1 | -1/+1 |
| | |||||
* | Changed all indentations to all whitespaces | Benoit Germain | 2022-02-07 | 20 | -6567/+6564 |
| | | | | Tabs mess up alignment of stack contents comments, so I'm done with them. | ||||
* | Merge pull request #203 from SoundBot/patch-1 | Benoit Germain | 2022-02-07 | 1 | -1/+1 |
|\ | | | | | Replace deprecated pthread_yield with sched_yield | ||||
| * | Replace deprecated pthread_yield with sched_yield | SoundBot | 2022-01-19 | 1 | -1/+1 |
|/ | | | Since glibc 2.34, pthread_yield is nonstandard and marked as deprecated. See: https://man7.org/linux/man-pages/man3/pthread_yield.3.html | ||||
* | Fix missing cancel.c in rockspec | Benoit Germain | 2021-11-17 | 1 | -1/+13 |
| | |||||
* | fix require() wrapper to return all values returned by original require() | Benoit Germain | 2021-09-22 | 6 | -151/+22 |
| | |||||
* | deep_test vcproj migrated to VS2019v3.15.1 | Benoit Germain | 2021-07-08 | 3 | -24/+183 |
| | |||||
* | Merge branch 'master' of https://github.com/LuaLanes/lanes | Benoit Germain | 2021-07-08 | 1 | -0/+1 |
|\ | |||||
| * | Update cancel.c | Benoit Germain | 2021-06-28 | 1 | -0/+1 |
| | | |||||
* | | fix function transfer with lua_dump for Lua 5.4 failing for functions big ↵ | Benoit Germain | 2021-07-08 | 5 | -16/+98 |
|/ | | | | enough to necessitate a buffer reallocation | ||||
* | Update lanes-3.15.0-0.rockspecv3.15.0 | Benoit Germain | 2021-06-28 | 1 | -2/+2 |
| | |||||
* | fixed some tests | Benoit Germain | 2021-06-28 | 3 | -4/+6 |
| | |||||
* | fix stack overflow when transfering a clonable userdata referencing itself ↵ | Benoit Germain | 2021-06-26 | 7 | -152/+245 |
| | | | | through a uservalue | ||||
* | correctly transfer the uservalue of a deep userdata | Benoit Germain | 2021-06-24 | 17 | -422/+598 |
| | |||||
* | expand deeptest.lua | Benoit Germain | 2021-06-24 | 2 | -18/+20 |
| | |||||
* | updated deep userdata unit test to expose issue #189 | Benoit Germain | 2021-06-23 | 2 | -9/+51 |
| | |||||
* | __lanesclone now receives the original as light userdata the first time it ↵ | Benoit Germain | 2021-06-23 | 4 | -17/+35 |
| | | | | is called | ||||
* | changed lanes.threads() output so that several lanes with the same name ↵ | Benoit Germain | 2021-06-16 | 5 | -49/+130 |
| | | | | | | don't clobber each other in the result table In the original implementations, the debug name was used as key, which meant that several lanes using the same name would cause only the oldest non-collected one to be listed in the results. Now the result is an array of tuples. | ||||
* | Merge pull request #190 from eligovision/lanes_lua51_bugfix | Benoit Germain | 2021-06-16 | 1 | -1/+20 |
|\ | | | | | Bug fix for Lua 5.1/LuaJIT: lua_getiuservalue must check if lua_getfe… | ||||
| * | Compat lua_setiuservalue fixed for Lua 5.1 and LuaJIT | valid-ptr | 2021-02-24 | 1 | -1/+6 |
| | | |||||
| * | Bug fix for Lua 5.1/LuaJIT: lua_getiuservalue must check if lua_getfenv ↵ | valid-ptr | 2021-02-15 | 1 | -0/+14 |
| | | | | | | | | returns global environment | ||||
* | | Merge pull request #186 from alarixbsd/master | Benoit Germain | 2021-06-16 | 2 | -3/+15 |
|\ \ | |/ |/| | NetBSD support | ||||
| * | NetBSD support | nia | 2020-10-05 | 2 | -3/+15 |
|/ | | | | | | | | This adds support for NetBSD's flavour of pthreads. There are minor differences in the declaration of the non-portable pthread functions, and sched_yield is provided instead of pthread_yield_np. This allows LuaLanes to build and the test suite to run on NetBSD. | ||||
* | Merge branch 'master' of https://github.com/LuaLanes/lanes | Benoit Germain | 2020-04-22 | 1 | -0/+35 |
|\ | |||||
| * | Create manual_register.lua | Benoit Germain | 2019-12-13 | 1 | -0/+35 |
| | | | | | | | | New test sample to demonstrate on_state_create and manual function registration. | ||||
* | | Makefile detect MinGW 64 as well as MinGW 32 | Benoit Germain | 2020-04-22 | 2 | -4/+4 |
| | | |||||
* | | fix THREAD_SET_AFFINITY always failing | Benoit Germain | 2020-04-22 | 1 | -2/+2 |
|/ |