aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New Lanes finalizer API lanes.finally()Benoit Germain2024-05-282-30/+46
|
* More string_viewBenoit Germain2024-05-271-4/+24
|
* Process upvalues equal to _G in Lua51 as in other flavorsBenoit Germain2024-05-241-2/+3
|
* on_state_create receives a string argument, "lane" or "keeper"Benoit Germain2024-05-232-7/+7
|
* Fix __lanesignoreBenoit Germain2024-05-221-20/+22
|
* lua503_getfield → strong typed luaG_getfieldBenoit Germain2024-05-221-1/+1
|
* linda:limit uses nil instead of -1 to unblockBenoit Germain2024-05-201-5/+5
|
* linda:limit errors on limits < 1Benoit Germain2024-05-202-2/+6
|
* Minor code tweaksBenoit Germain2024-05-171-2/+1
|
* Error reporting revampBenoit Germain2024-05-171-40/+224
| | | | | | * set_error_reporting() is gone * new lane generator setting error_reporting_level * basic/extended stack trace is selectable at runtime instead of compile-time
* Linda API changesBenoit Germain2024-05-131-145/+151
| | | | | * timeout clarifications (negative values are no longer accepted, use nil instead) * linda(send, linda.null, key, ...) removed, if you want to send a nil, just do it as usual
* Some more code refactorizationBenoit Germain2024-05-131-1/+1
|
* API changesBenoit Germain2024-05-131-21/+29
| | | | | * lanes.sleep accepts 'indefinitely'. * settings.with_timers is false by default
* Some code factorizationBenoit Germain2024-05-031-1/+1
|
* Progressively applying the coding rulesBenoit Germain2024-05-021-4/+6
|
* Progressively applying the coding rulesBenoit Germain2024-04-301-1/+1
|
* Progressively applying the coding rulesBenoit Germain2024-04-291-0/+2
|
* some dead code elimination and other triflesBenoit Germain2024-04-163-34/+44
|
* C++ migration: inter-state transfer managed by a new class InterCopyContextBenoit Germain2024-04-151-6/+11
|
* Merge branch 'C-Implementation'Benoit Germain2024-04-151-1/+1
|\
| * fix keeper state stack accumulating garbage in case of transfer errorsBenoit Germain2024-04-151-1/+1
| |
* | C++ migration: keeper_call returns a std::optionalBenoit Germain2024-04-151-15/+59
| |
* | Merge branch 'C-Implementation'Benoit Germain2024-04-111-3/+12
|\| | | | | | | Since almost everything in C-implementation comes from manual cherry-picking stuff in master, the merge essentially consist in a pure git tree operation to reconnect stuff properly.
| * Bring all interesting fixes from the C++ implementation back into the C ↵Benoit Germain2024-04-118-194/+332
| | | | | | | | implementation
* | C++ migration: use std::jthread, std::condition_variable, std::chrono.Benoit Germain2024-04-081-15/+5
| | | | | | | | | | | | | | | | win32 pthread support is gone new setting configure.shutdown_mode for cancellation of free-running threads at shutdown. no more hard thread termination! If a thread doesn't cooperate, an error is raised. lane.status "killed" is gone lane:cancel can't force-kill.
* | Tweak some test scriptsBenoit Germain2024-04-083-6/+9
| |
* | Enable manual control of GC inside keeper statesBenoit Germain2024-04-052-48/+31
| |
* | tweak cancel.lua to enable individual tests. fix "hook" test for LuaJIT ↵Benoit Germain2024-04-041-10/+24
| | | | | | | | (need "line" hook instead of "count" to work as expected)
* | tweaks to basic.lua and linda_perf.luaBenoit Germain2024-04-042-40/+77
| |
* | tweak cancel.lua test file to be able to cherry-pick tests with command line ↵Benoit Germain2024-03-281-88/+103
| | | | | | | | arguments
* | C++ migration: less kludgy Linda name management with a std::variantBenoit Germain2024-03-282-1/+10
| |
* | updated perftest.luaBenoit Germain2024-03-271-32/+42
| |
* | C++ migration: templated lua_touserdataBenoit Germain2024-03-261-4/+35
| |
* | C++ migration: refactor AllocatorDefinition and ProtectedAllocator into classesBenoit Germain2024-03-261-0/+2
| |
* | C++ migration: revamped stack checking macrosBenoit Germain2024-03-251-0/+7
| |
* | C++ migration: STACK_GROW is no longer a macro, sanitized and fixed warnings ↵Benoit Germain2024-03-221-6/+29
|/ | | | in keeper.cpp
* Minor tweaksv3.16.1Benoit Germain2023-08-162-3/+1
|
* Update deadlock.luaBenoit Germain2022-02-071-0/+2
|
* fix require() wrapper to return all values returned by original require()Benoit Germain2021-09-221-2/+6
|
* fixed some testsBenoit Germain2021-06-283-4/+6
|
* changed lanes.threads() output so that several lanes with the same name ↵Benoit Germain2021-06-161-0/+72
| | | | | | 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.
* Create manual_register.luaBenoit Germain2019-12-131-0/+35
| | | | New test sample to demonstrate on_state_create and manual function registration.
* Lane cancellation reworkBenoit Germain2019-04-264-67/+139
| | | | | opt.cancelstep is gone, hook is installed by lane:cancel() if requested lane:cancel() rework (see doc)
* lane:cancel internal code refactorizationBenoit Germain2019-04-191-56/+56
|
* don't test __lanesignore for POD types (-> slightly faster when trasnfering ↵Benoit Germain2018-11-301-2/+1
| | | | | | lots of data) + more code refactoring
* Lua 5.4 supportBenoit Germain2018-11-271-1/+1
|
* test script tweaksBenoit Germain2018-11-232-7/+18
|
* Raise an error instead of crashing when attempting to transfer a non-deep ↵Benoit Germain2018-11-231-3/+6
| | | | full userdata
* Create lanes_as_upvalue.luaBenoit Germain2018-11-211-0/+8
|
* Internal code tweaksBenoit Germain2018-11-191-0/+6
| | | | | | * Registry access code utility macros * CONFIG_REGKEY and LOOKUP_REGKEY are now lightuserdata instead of strings * Stack checking debug macros improvements