Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Linda API changes | Benoit Germain | 2024-05-07 | 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-07 | 1 | -1/+1 |
| | |||||
* | API changes | Benoit Germain | 2024-05-07 | 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 | ||||
* | Improved deadlock bug test script | Benoit Germain | 2018-11-08 | 1 | -10/+19 |
| | |||||
* | Make sure any linda operation that can raise an error won't ever leave a ↵ | Benoit Germain | 2018-11-08 | 1 | -0/+28 |
| | | | | mutex unreleased | ||||
* | New test protect_allocator | Benoit Germain | 2018-10-31 | 1 | -0/+50 |
| | |||||
* | Fix protectproxy.lua | Benoit Germain | 2018-10-30 | 1 | -2/+1 |
| | |||||
* | Table transfer improvements | Benoit Germain | 2017-06-05 | 1 | -6/+7 |
| | | | | | | | | * new API function lanes.register( "name", module) to manually register a module table after it was required * Transfering registered module tables will link the equivalent in the destination state instead of cloning it * bumped version to 3.11 | ||||
* | Add test for table caching in basic.lua | Benoit Germain | 2017-05-16 | 1 | -0/+8 |
| | | | | | When transfering a table through multiple references, the transfer result should preserve reference equality. | ||||
* | Fix package test for Lua 5.2 and Lua 5.3 | mpeterv | 2015-02-25 | 1 | -8/+10 |
| | | | | Starting from Lua 5.2, package.loaders is renamed as package.searchers. | ||||
* | Multiverse compatibility | Benoit Germain | 2014-02-26 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | * bumped version to 3.9.2 * Internal rework: the whole Lanes engine now works "per universe" to allow concurrent Lanes execution in more than one embedded master state * this universe is a full userdata created in the master state, selfdestruct_gc is the __gc for this userdata * most of what was initialized only once is now per-universe * Fixed potential crashes at desinit if problems occur during keeper states initialisation * Fixed require() not always serialized properly * Raise an error instead of crashing on deep userdata prelude memory allocation failure * Added forgotten mutex desinitialisation at universe shutdown | ||||
* | lindas can have a group for keeper state assignation control | Benoit Germain | 2014-02-17 | 1 | -2/+2 |
| | |||||
* | more fixes/tweaks about cancelled lindas | Benoit Germain | 2014-02-13 | 2 | -2/+32 |
| | | | | | | | | | | * bumped version to 3.8.5 * linda:limit() returns lanes.cancel_error on a limited linda * lanes.genlock() and lanes.genatomic() support cancelled lindas by returning lanes.cancel_error whenever appropriate * fixed a possible Lua stack overflow when calling linda:dump() * fixed cases where linda:send() and linda:receive() would not return lanes.cancel_error when they should |