From 62a7eab66f8f6af66c94390138815c3171b62810 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 26 Jun 2024 17:45:16 +0200 Subject: 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 --- CHANGES | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index dc38f1b..59ad924 100644 --- a/CHANGES +++ b/CHANGES @@ -29,6 +29,7 @@ CHANGE 2: BGe 11-Jun-24 - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers. - linda:deep() result no longer contains the raw C pointer of the Linda object. - linda :receive(), :send(), :get(), :set(), :limit() return nil, error in case of problem. Returned values in case of success change too. + - linda:limit() can be used to read the value if no new limit is provided. - Lindas have a __close metamethod that calls any suitable handler that was provided at Linda creation. - linda:dump outputs .limit as 'unlimited' instead of -1 for unlimited keys. - deep userdata are an acceptable key to send data into (for example, another linda). -- cgit v1.2.3-55-g6feb