| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Improve table and userdata conversions | Benoit Germain | 2025-09-20 | 1 | -5/+23 |
| | | | | | | | | | * add convert_fallback and convert_max_attempts to global settings * if no __lanesconvert is available, use convert_fallback (can be useful for externally provided full userdata with fixed metatables) * only try conversion on non-deep and non-clonable userdata * conversion can be applied recursively, up to convert_max_attempts times * plus all the relevant unit tests of course | ||||
| * | Thread priority rework | Benoit Germain | 2025-05-07 | 1 | -13/+29 |
| | | | | | | | | * thread priorities can now be set using the native range of values, if desired. * thread API errors cause a Lua error instead of aborting the program. * new function lanes.thread_priority_range(), to query the valid range of priorities. * unit tests for all of the above | ||||
| * | New feature: Linda periodical cancellation checks | Benoit Germain | 2025-04-18 | 1 | -0/+14 |
| | | | | | | | | * lanes.linda() api change: takes all settings in a single table argument * new linda creation argument wake_period * new lanes.configure setting linda_wake_period * adjusted all unit tests (one TODO test fails on purpose) | ||||
| * | Linda batched mode rework | Benoit Germain | 2025-04-15 | 1 | -3/+2 |
| | | | | | | * linda.batched special value is removed * new function linda:receive_batched | ||||
| * | lanes/core.[so|dll] → lanes_core.[so|dll] | Benoit Germain | 2025-03-14 | 1 | -5/+5 |
| | | |||||
| * | lanes.collectgarbage() and linda:collectgarbage() | Benoit Germain | 2024-12-10 | 1 | -0/+1 |
| | | |||||
| * | New method linda:restrict() | Benoit Germain | 2024-12-03 | 1 | -0/+1 |
| | | |||||
| * | Internal refactorization to properly handle lua_resume idiosyncrasies | Benoit Germain | 2024-07-29 | 1 | -2/+2 |
| | | |||||
| * | A small step toward coroutine-based lanes | Benoit Germain | 2024-07-01 | 1 | -41/+56 |
| | | |||||
| * | Make Lanes crash on purpose at shutdown if some lanes still run | Benoit Germain | 2024-06-28 | 1 | -9/+0 |
| | | |||||
| * | linda:limit() and linda:set() return a second value, a string representing ↵ | Benoit Germain | 2024-06-27 | 1 | -1/+2 |
| | | | | | the fill status | ||||
| * | Make lanes.gen stricter on base libraries | Benoit Germain | 2024-06-26 | 1 | -18/+29 |
| | | |||||
| * | Fix lanes.gen not correctly detecting '*' misuse | Benoit Germain | 2024-06-25 | 1 | -1/+5 |
| | | |||||
| * | Better error message on unknown configuration setting | Benoit Germain | 2024-06-20 | 1 | -2/+2 |
| | | |||||
| * | Boyscouting | Benoit Germain | 2024-06-19 | 1 | -14/+14 |
| | | |||||
| * | Config parameter validators can append extra information to the error message | Benoit Germain | 2024-06-19 | 1 | -11/+45 |
| | | |||||
| * | Foolproofed config.allocator when it is a function | Benoit Germain | 2024-06-17 | 1 | -4/+4 |
| | | |||||
| * | Fix validation of boolean settings | Benoit Germain | 2024-06-17 | 1 | -1/+1 |
| | | |||||
| * | Wording fix: parameter → argument | Benoit Germain | 2024-06-14 | 1 | -7/+7 |
| | | |||||
| * | linda :get(), :set(), :limit() return value changes | Benoit Germain | 2024-06-12 | 1 | -15/+26 |
| | | |||||
| * | Adjust lanes.configure() documentation | Benoit Germain | 2024-06-11 | 1 | -1/+1 |
| | | |||||
| * | Fix lanes.genlock() | Benoit Germain | 2024-06-11 | 1 | -1/+5 |
| | | |||||
| * | Removed .demote_full_userdata | Benoit Germain | 2024-06-10 | 1 | -2/+0 |
| | | |||||
| * | linda:send() returns nil,<something> in case of error | Benoit Germain | 2024-06-10 | 1 | -1/+2 |
| | | |||||
| * | New global setting "strip_functions" | Benoit Germain | 2024-06-03 | 1 | -23/+25 |
| | | |||||
| * | Moved lanes.sleep implementation to the C-side | Benoit Germain | 2024-06-03 | 1 | -23/+3 |
| | | |||||
| * | Some API changes | Benoit Germain | 2024-05-31 | 1 | -15/+23 |
| | | | | | | | * lanes.timers() can return nil, cancel_error if interrupted * linda:receive() always return a k,v, where k is nil when v is "timeout" or cancel_error * lanes.sleep returns nil, "timeout" during normal operations | ||||
| * | Improved multi-keeper tests | Benoit Germain | 2024-05-31 | 1 | -18/+19 |
| | | |||||
| * | Keeper management modernisation and improvements | Benoit Germain | 2024-05-30 | 1 | -5/+5 |
| | | | | | | | | * use a std::variant to manage the distinction between one or more keeper states. Use std::unique_ptr<Keeper[]> to manage the multiple keeper case. * setting "nb_keepers" renamed "nb_user_keepers", to indicate these are in addition to internal keeper #0 used for timers. * stricter lanes.linda() argument checking. group is imposed if more than one keeper is used. * more tests | ||||
| * | Fix clang-tidy issues (most notably Microsoft-specific explicit constructor ↵ | Benoit Germain | 2024-05-29 | 1 | -2/+2 |
| | | | | | calls) | ||||
| * | Fix lanes.lua dependency on "io" | Benoit Germain | 2024-05-29 | 1 | -28/+25 |
| | | |||||
| * | New Lanes finalizer API lanes.finally() | Benoit Germain | 2024-05-28 | 1 | -0/+1 |
| | | |||||
| * | Minor code tweaks | Benoit Germain | 2024-05-17 | 1 | -10/+15 |
| | | |||||
| * | Error reporting revamp | Benoit Germain | 2024-05-17 | 1 | -4/+17 |
| | | | | | | | * set_error_reporting() is gone * new lane generator setting error_reporting_level * basic/extended stack trace is selectable at runtime instead of compile-time | ||||
| * | Fix missing lanes.null | Benoit Germain | 2024-05-17 | 1 | -0/+1 |
| | | |||||
| * | Almost nothing | Benoit Germain | 2024-05-14 | 1 | -2/+1 |
| | | |||||
| * | Linda API changes | Benoit Germain | 2024-05-13 | 1 | -7/+10 |
| | | | | | | * 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 | ||||
| * | API changes | Benoit Germain | 2024-05-13 | 1 | -2/+4 |
| | | | | | | * lanes.sleep accepts 'indefinitely'. * settings.with_timers is false by default | ||||
| * | New lane generator option opt_tbl.name | Benoit Germain | 2024-05-13 | 1 | -9/+13 |
| | | |||||
| * | de-megathodize lanes.configure() | Benoit Germain | 2024-05-02 | 1 | -607/+649 |
| | | |||||
| * | C++ migration: use std::jthread, std::condition_variable, std::chrono. | Benoit Germain | 2024-04-08 | 1 | -222/+229 |
| | | | | | | | | | 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. | ||||
| * | Enable manual control of GC inside keeper states | Benoit Germain | 2024-04-05 | 1 | -0/+5 |
| | | |||||
| * | Finalize version 3.16.2v3.16.2 | Benoit Germain | 2023-08-17 | 1 | -1/+1 |
| | | |||||
| * | new .internal_allocator configuration IUNTESTED) | Benoit Germain | 2023-08-09 | 1 | -1/+7 |
| | | | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS. | ||||
| * | Make allocator threadsafe by default when running LuaJIT, because LuaJIT ↵ | Benoit Germain | 2022-02-21 | 1 | -1/+2 |
| | | | | | allocator is not | ||||
| * | Changed all indentations to all whitespaces | Benoit Germain | 2022-02-07 | 1 | -690/+690 |
| | | | | | Tabs mess up alignment of stack contents comments, so I'm done with them. | ||||
| * | Lane cancellation rework | Benoit Germain | 2019-04-26 | 1 | -14/+3 |
| | | | | | | opt.cancelstep is gone, hook is installed by lane:cancel() if requested lane:cancel() rework (see doc) | ||||
| * | Trailing whitespaces deleted from lanes.lua | valid-ptr | 2018-11-27 | 1 | -10/+10 |
| | | |||||
| * | Lanes version available in public header | Benoit Germain | 2018-11-26 | 1 | -1/+1 |
| | | |||||
| * | User-provided unknown configure option raises an error | Benoit Germain | 2018-11-26 | 1 | -0/+6 |
| | | |||||
