aboutsummaryrefslogtreecommitdiff
path: root/tests/nameof.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Give a name to all lanes in the testsBenoit Germain2025-03-141-1/+1
|
* lanes.nameof internal code refacto + a few unit testsBenoit Germain2025-03-051-2/+2
|
* Some API changesBenoit Germain2024-05-311-2/+7
| | | | | | * 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
* Keeper management modernisation and improvementsBenoit Germain2024-05-301-1/+1
| | | | | | | * 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 bad std::optional usageBenoit Germain2024-05-291-2/+2
|
* More string_viewBenoit Germain2024-05-271-4/+24
|
* 2 crash fixes and 1 experimentBenoit Germain2014-01-221-0/+1
| | | | | | | | | | * bumped version to 3.8.3 * fixed a possible Lua stack overflow when sending complex function through lindas or as lane body * experimental: lanes.nameof() scans the registry if a regular search didn't yield anything interesting * fixed lanes.nameof() misbehaving when encountering a LUA_TTHREAD object
* version 3.4.0Benoit Germain2012-09-261-0/+4
* new method linda:dump() that outputs the full contents of a linda as a table, also linked to __towatch for Decoda support * linda:receive() API change! * instead of [val, key], linda:receive( timeout, key) returns [key, val] * instead of [val, [...]], linda:receive( timeout, linda.batched key) returns [key, val[, ...]] this is to unify the return values of regular and batched mode, and to be able to tell when batched mode is interrupted by a lane cancellation * fixed Lua 5.2 build to take into account the "loaders"->"searchers" name change in 'package' module. * a bit of html cleanup and added some infos in the documentation regarding the Lanes internals