Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New Lanes finalizer API lanes.finally() | Benoit Germain | 2024-05-28 | 2 | -30/+46 |
| | |||||
* | More string_view | Benoit Germain | 2024-05-27 | 1 | -4/+24 |
| | |||||
* | Process upvalues equal to _G in Lua51 as in other flavors | Benoit Germain | 2024-05-24 | 1 | -2/+3 |
| | |||||
* | on_state_create receives a string argument, "lane" or "keeper" | Benoit Germain | 2024-05-23 | 2 | -7/+7 |
| | |||||
* | Fix __lanesignore | Benoit Germain | 2024-05-22 | 1 | -20/+22 |
| | |||||
* | lua503_getfield → strong typed luaG_getfield | Benoit Germain | 2024-05-22 | 1 | -1/+1 |
| | |||||
* | linda:limit uses nil instead of -1 to unblock | Benoit Germain | 2024-05-20 | 1 | -5/+5 |
| | |||||
* | linda:limit errors on limits < 1 | Benoit Germain | 2024-05-20 | 2 | -2/+6 |
| | |||||
* | Minor code tweaks | Benoit Germain | 2024-05-17 | 1 | -2/+1 |
| | |||||
* | Error reporting revamp | Benoit Germain | 2024-05-17 | 1 | -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 changes | Benoit Germain | 2024-05-13 | 1 | -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 refactorization | Benoit Germain | 2024-05-13 | 1 | -1/+1 |
| | |||||
* | API changes | Benoit Germain | 2024-05-13 | 1 | -21/+29 |
| | | | | | * lanes.sleep accepts 'indefinitely'. * settings.with_timers is false by default | ||||
* | Some code factorization | Benoit Germain | 2024-05-03 | 1 | -1/+1 |
| | |||||
* | Progressively applying the coding rules | Benoit Germain | 2024-05-02 | 1 | -4/+6 |
| | |||||
* | Progressively applying the coding rules | Benoit Germain | 2024-04-30 | 1 | -1/+1 |
| | |||||
* | Progressively applying the coding rules | Benoit Germain | 2024-04-29 | 1 | -0/+2 |
| | |||||
* | some dead code elimination and other trifles | Benoit Germain | 2024-04-16 | 3 | -34/+44 |
| | |||||
* | C++ migration: inter-state transfer managed by a new class InterCopyContext | Benoit Germain | 2024-04-15 | 1 | -6/+11 |
| | |||||
* | Merge branch 'C-Implementation' | Benoit Germain | 2024-04-15 | 1 | -1/+1 |
|\ | |||||
| * | fix keeper state stack accumulating garbage in case of transfer errors | Benoit Germain | 2024-04-15 | 1 | -1/+1 |
| | | |||||
* | | C++ migration: keeper_call returns a std::optional | Benoit Germain | 2024-04-15 | 1 | -15/+59 |
| | | |||||
* | | Merge branch 'C-Implementation' | Benoit Germain | 2024-04-11 | 1 | -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 Germain | 2024-04-11 | 8 | -194/+332 |
| | | | | | | | | implementation | ||||
* | | C++ migration: use std::jthread, std::condition_variable, std::chrono. | Benoit Germain | 2024-04-08 | 1 | -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 scripts | Benoit Germain | 2024-04-08 | 3 | -6/+9 |
| | | |||||
* | | Enable manual control of GC inside keeper states | Benoit Germain | 2024-04-05 | 2 | -48/+31 |
| | | |||||
* | | tweak cancel.lua to enable individual tests. fix "hook" test for LuaJIT ↵ | Benoit Germain | 2024-04-04 | 1 | -10/+24 |
| | | | | | | | | (need "line" hook instead of "count" to work as expected) | ||||
* | | tweaks to basic.lua and linda_perf.lua | Benoit Germain | 2024-04-04 | 2 | -40/+77 |
| | | |||||
* | | tweak cancel.lua test file to be able to cherry-pick tests with command line ↵ | Benoit Germain | 2024-03-28 | 1 | -88/+103 |
| | | | | | | | | arguments | ||||
* | | C++ migration: less kludgy Linda name management with a std::variant | Benoit Germain | 2024-03-28 | 2 | -1/+10 |
| | | |||||
* | | updated perftest.lua | Benoit Germain | 2024-03-27 | 1 | -32/+42 |
| | | |||||
* | | C++ migration: templated lua_touserdata | Benoit Germain | 2024-03-26 | 1 | -4/+35 |
| | | |||||
* | | C++ migration: refactor AllocatorDefinition and ProtectedAllocator into classes | Benoit Germain | 2024-03-26 | 1 | -0/+2 |
| | | |||||
* | | C++ migration: revamped stack checking macros | Benoit Germain | 2024-03-25 | 1 | -0/+7 |
| | | |||||
* | | C++ migration: STACK_GROW is no longer a macro, sanitized and fixed warnings ↵ | Benoit Germain | 2024-03-22 | 1 | -6/+29 |
|/ | | | | in keeper.cpp | ||||
* | Minor tweaksv3.16.1 | Benoit Germain | 2023-08-16 | 2 | -3/+1 |
| | |||||
* | Update deadlock.lua | Benoit Germain | 2022-02-07 | 1 | -0/+2 |
| | |||||
* | fix require() wrapper to return all values returned by original require() | Benoit Germain | 2021-09-22 | 1 | -2/+6 |
| | |||||
* | fixed some tests | Benoit Germain | 2021-06-28 | 3 | -4/+6 |
| | |||||
* | changed lanes.threads() output so that several lanes with the same name ↵ | Benoit Germain | 2021-06-16 | 1 | -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.lua | Benoit Germain | 2019-12-13 | 1 | -0/+35 |
| | | | | New test sample to demonstrate on_state_create and manual function registration. | ||||
* | Lane cancellation rework | Benoit Germain | 2019-04-26 | 4 | -67/+139 |
| | | | | | opt.cancelstep is gone, hook is installed by lane:cancel() if requested lane:cancel() rework (see doc) | ||||
* | lane:cancel internal code refactorization | Benoit Germain | 2019-04-19 | 1 | -56/+56 |
| | |||||
* | don't test __lanesignore for POD types (-> slightly faster when trasnfering ↵ | Benoit Germain | 2018-11-30 | 1 | -2/+1 |
| | | | | | | lots of data) + more code refactoring | ||||
* | Lua 5.4 support | Benoit Germain | 2018-11-27 | 1 | -1/+1 |
| | |||||
* | test script tweaks | Benoit Germain | 2018-11-23 | 2 | -7/+18 |
| | |||||
* | Raise an error instead of crashing when attempting to transfer a non-deep ↵ | Benoit Germain | 2018-11-23 | 1 | -3/+6 |
| | | | | full userdata | ||||
* | Create lanes_as_upvalue.lua | Benoit Germain | 2018-11-21 | 1 | -0/+8 |
| | |||||
* | Internal code tweaks | Benoit Germain | 2018-11-19 | 1 | -0/+6 |
| | | | | | | * Registry access code utility macros * CONFIG_REGKEY and LOOKUP_REGKEY are now lightuserdata instead of strings * Stack checking debug macros improvements |