aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #208 from eligovision/lanes_lanesclone3args_fixv3.16.0Benoit Germain2022-03-011-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-ptr2022-03-011-4/+4
|/ | | | inter_copy_function); Some comments improved
* deep_test tweaksBenoit Germain2022-02-273-13/+186
|
* Make allocator threadsafe by default when running LuaJIT, because LuaJIT ↵Benoit Germain2022-02-215-21/+25
| | | | allocator is not
* use malloc/free for keeper control structure when compiling for LuaJITBenoit Germain2022-02-211-6/+18
|
* Update deep_test.vcxproj.userBenoit Germain2022-02-211-10/+35
|
* some fixes in deep_test vcproj for LuaJIT-2.1.0-beta3 testingBenoit Germain2022-02-212-0/+85
|
* NEVER use allocator obtained from lua_getallocf to allocate stuff manually ↵Benoit Germain2022-02-176-28/+77
| | | | when compiling for LuaJIT
* __lanesclone is now called only once with 3 parameters dest, source, size -> ↵Benoit Germain2022-02-088-157/+142
| | | | BREAKS CUSTOM DEEP USERDATA API
* Version bumpBenoit Germain2022-02-073-5/+7
|
* A Lane's Lua state uses the Universe-defined allocator by defaultBenoit Germain2022-02-071-2/+3
|
* removed explicit calls to malloc/freeBenoit Germain2022-02-075-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.luaBenoit Germain2022-02-071-0/+2
|
* Fix rockspec deprecated github urlBenoit Germain2022-02-071-1/+1
|
* Changed all indentations to all whitespacesBenoit Germain2022-02-0720-6567/+6564
| | | | Tabs mess up alignment of stack contents comments, so I'm done with them.
* Merge pull request #203 from SoundBot/patch-1Benoit Germain2022-02-071-1/+1
|\ | | | | Replace deprecated pthread_yield with sched_yield
| * Replace deprecated pthread_yield with sched_yieldSoundBot2022-01-191-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 rockspecBenoit Germain2021-11-171-1/+13
|
* fix require() wrapper to return all values returned by original require()Benoit Germain2021-09-226-151/+22
|
* deep_test vcproj migrated to VS2019v3.15.1Benoit Germain2021-07-083-24/+183
|
* Merge branch 'master' of https://github.com/LuaLanes/lanesBenoit Germain2021-07-081-0/+1
|\
| * Update cancel.cBenoit Germain2021-06-281-0/+1
| |
* | fix function transfer with lua_dump for Lua 5.4 failing for functions big ↵Benoit Germain2021-07-085-16/+98
|/ | | | enough to necessitate a buffer reallocation
* Update lanes-3.15.0-0.rockspecv3.15.0Benoit Germain2021-06-281-2/+2
|
* fixed some testsBenoit Germain2021-06-283-4/+6
|
* fix stack overflow when transfering a clonable userdata referencing itself ↵Benoit Germain2021-06-267-152/+245
| | | | through a uservalue
* correctly transfer the uservalue of a deep userdataBenoit Germain2021-06-2417-422/+598
|
* expand deeptest.luaBenoit Germain2021-06-242-18/+20
|
* updated deep userdata unit test to expose issue #189Benoit Germain2021-06-232-9/+51
|
* __lanesclone now receives the original as light userdata the first time it ↵Benoit Germain2021-06-234-17/+35
| | | | is called
* changed lanes.threads() output so that several lanes with the same name ↵Benoit Germain2021-06-165-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_bugfixBenoit Germain2021-06-161-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 LuaJITvalid-ptr2021-02-241-1/+6
| |
| * Bug fix for Lua 5.1/LuaJIT: lua_getiuservalue must check if lua_getfenv ↵valid-ptr2021-02-151-0/+14
| | | | | | | | returns global environment
* | Merge pull request #186 from alarixbsd/masterBenoit Germain2021-06-162-3/+15
|\ \ | |/ |/| NetBSD support
| * NetBSD supportnia2020-10-052-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/lanesBenoit Germain2020-04-221-0/+35
|\
| * Create manual_register.luaBenoit Germain2019-12-131-0/+35
| | | | | | | | New test sample to demonstrate on_state_create and manual function registration.
* | Makefile detect MinGW 64 as well as MinGW 32Benoit Germain2020-04-222-4/+4
| |
* | fix THREAD_SET_AFFINITY always failingBenoit Germain2020-04-221-2/+2
|/
* Merge pull request #176 from sonoro1234/clean_cmakeBenoit Germain2019-05-052-145/+12
|\ | | | | cmake: cleaning and only link against lualib on windows
| * cmake: some install variables that were left out in last commitsonoro12342019-05-031-0/+6
| |
| * cmake: cleaning and only link against lualib on windows ↵sonoro12342019-05-022-145/+6
|/ | | | (see:http://lua-users.org/wiki/BuildingModules)
* Lane cancellation reworkBenoit Germain2019-04-2616-251/+305
| | | | | opt.cancelstep is gone, hook is installed by lane:cancel() if requested lane:cancel() rework (see doc)
* Moved cancellation code in separate filesBenoit Germain2019-04-227-228/+316
|
* Fix _GNU_SOURCE redefinition (#171)Benoit Germain2019-04-221-4/+9
|
* DEBUGSPEW_CODE in cancel_hookBenoit Germain2019-04-202-1/+2
|
* lane:cancel internal code refactorizationBenoit Germain2019-04-193-137/+130
|
* Merge pull request #170 from eligovision/ios_arm64_hotfixBenoit Germain2018-12-281-1/+1
|\ | | | | [*] Hotfix for 64-bit iOS with LuaJIT.
| * [*] Hotfix for 64-bit iOS.Igor Ivanov2018-12-201-1/+1
|/