Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Internal refactorization to properly handle lua_resume idiosyncrasies | Benoit Germain | 2024-07-29 | 4 | -5/+12 |
| | |||||
* | get_debug_threadname → get_threadname | Benoit Germain | 2024-07-04 | 1 | -3/+3 |
| | |||||
* | Fix finalizers in coroutine lanes | Benoit Germain | 2024-07-04 | 1 | -4/+7 |
| | |||||
* | Renamed set_debug_threadname → lane_threadname (can also read the current ↵ | Benoit Germain | 2024-07-03 | 5 | -14/+14 |
| | | | | name now) | ||||
* | Improved recursive.lua | Benoit Germain | 2024-07-02 | 1 | -5/+5 |
| | |||||
* | linda:limit() and linda:set() return a second value, a string representing ↵ | Benoit Germain | 2024-06-27 | 1 | -0/+1 |
| | | | | the fill status | ||||
* | Change linda:limit() | Benoit Germain | 2024-06-26 | 1 | -2/+2 |
| | | | | | | * read the current limit of a key if no limit is provided * "unlimited" is to be used to clear the limit * fix linda:set() not ignoring the limit | ||||
* | Make lanes.gen stricter on base libraries | Benoit Germain | 2024-06-26 | 1 | -1/+1 |
| | |||||
* | Fix on_state_create incorrectly rejecting Lua functions with only _ENV as ↵ | Benoit Germain | 2024-06-19 | 1 | -7/+2 |
| | | | | upvalue | ||||
* | Wording fix: parameter → argument | Benoit Germain | 2024-06-14 | 5 | -11/+11 |
| | |||||
* | Fix error handling when indexing a lane with unexpected data | Benoit Germain | 2024-06-14 | 1 | -1/+3 |
| | |||||
* | More char* -> std::string_view conversions | Benoit Germain | 2024-06-14 | 1 | -2/+2 |
| | |||||
* | More fixes to make clang happy | Benoit Germain | 2024-06-14 | 1 | -2/+12 |
| | |||||
* | linda :get(), :set(), :limit() return value changes | Benoit Germain | 2024-06-12 | 7 | -33/+45 |
| | |||||
* | Unit test for to-be-closed Lanes and Lindas | Benoit Germain | 2024-06-12 | 1 | -0/+123 |
| | |||||
* | Adjust lanes.configure() documentation | Benoit Germain | 2024-06-11 | 15 | -43/+35 |
| | |||||
* | New lane:__close does a lane:join() | Benoit Germain | 2024-06-11 | 1 | -4/+27 |
| | |||||
* | Fixes and improvements to lane:join() | Benoit Germain | 2024-06-11 | 9 | -7/+32 |
| | | | | | * fix: returns nil,cancel_error when lane was cancelled * improvement: enforce non-nil first return value of lane body when using lane:join() to obtain the results | ||||
* | linda:send() returns nil,<something> in case of error | Benoit Germain | 2024-06-10 | 1 | -7/+7 |
| | |||||
* | Replaced __lanesignore with __lanesconvert | Benoit Germain | 2024-06-10 | 1 | -2/+2 |
| | |||||
* | Fix track_lanes.lua | Benoit Germain | 2024-06-10 | 1 | -9/+13 |
| | |||||
* | Suspend/resume GC around Linda operations | Benoit Germain | 2024-06-10 | 1 | -4/+8 |
| | |||||
* | Fix basic.lua | Benoit Germain | 2024-06-07 | 1 | -1/+1 |
| | |||||
* | lanes.linda("auto") | Benoit Germain | 2024-06-06 | 1 | -3/+4 |
| | |||||
* | Tweak linda_perf.lua | Benoit Germain | 2024-06-06 | 1 | -8/+3 |
| | |||||
* | Fix Lua stack overflow in KeyUD:peek() | Benoit Germain | 2024-06-06 | 1 | -74/+87 |
| | |||||
* | Refactored keeper implementation of linda:receive() | Benoit Germain | 2024-06-04 | 3 | -3/+9 |
| | |||||
* | Refactored keeper implementation of linda:get() | Benoit Germain | 2024-06-04 | 2 | -7/+51 |
| | |||||
* | New global setting "strip_functions" | Benoit Germain | 2024-06-03 | 1 | -11/+13 |
| | |||||
* | Moved lanes.sleep implementation to the C-side | Benoit Germain | 2024-06-03 | 1 | -2/+9 |
| | |||||
* | Clarified keeper.cpp stack tracking comments | Benoit Germain | 2024-06-03 | 1 | -3/+9 |
| | |||||
* | Some API changes | Benoit Germain | 2024-05-31 | 10 | -41/+77 |
| | | | | | | * 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 | ||||
* | Start modernizing Keeper implementation | Benoit Germain | 2024-05-31 | 1 | -3/+3 |
| | |||||
* | Improved multi-keeper tests | Benoit Germain | 2024-05-31 | 2 | -102/+153 |
| | |||||
* | Keeper management modernisation and improvements | Benoit Germain | 2024-05-30 | 6 | -26/+46 |
| | | | | | | | * 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 | -1/+1 |
| | | | | calls) | ||||
* | Fix bad std::optional usage | Benoit Germain | 2024-05-29 | 1 | -2/+2 |
| | |||||
* | Fix lanes.lua dependency on "io" | Benoit Germain | 2024-05-29 | 1 | -0/+2 |
| | |||||
* | 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 |
| |