diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-26 17:45:16 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-26 17:45:16 +0200 |
commit | 62a7eab66f8f6af66c94390138815c3171b62810 (patch) | |
tree | 0b93a11f97e186d82a931b40ae092f7438ca3f31 /CHANGES | |
parent | e715be93bf00a452a6c2f1cd86a60b4ef5f30b07 (diff) | |
download | lanes-62a7eab66f8f6af66c94390138815c3171b62810.tar.gz lanes-62a7eab66f8f6af66c94390138815c3171b62810.tar.bz2 lanes-62a7eab66f8f6af66c94390138815c3171b62810.zip |
Change linda:limit()
* 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
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,6 +29,7 @@ CHANGE 2: BGe 11-Jun-24 | |||
29 | - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers. | 29 | - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers. |
30 | - linda:deep() result no longer contains the raw C pointer of the Linda object. | 30 | - linda:deep() result no longer contains the raw C pointer of the Linda object. |
31 | - linda :receive(), :send(), :get(), :set(), :limit() return nil, error in case of problem. Returned values in case of success change too. | 31 | - linda :receive(), :send(), :get(), :set(), :limit() return nil, error in case of problem. Returned values in case of success change too. |
32 | - linda:limit() can be used to read the value if no new limit is provided. | ||
32 | - Lindas have a __close metamethod that calls any suitable handler that was provided at Linda creation. | 33 | - Lindas have a __close metamethod that calls any suitable handler that was provided at Linda creation. |
33 | - linda:dump outputs <key>.limit as 'unlimited' instead of -1 for unlimited keys. | 34 | - linda:dump outputs <key>.limit as 'unlimited' instead of -1 for unlimited keys. |
34 | - deep userdata are an acceptable key to send data into (for example, another linda). | 35 | - deep userdata are an acceptable key to send data into (for example, another linda). |