aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-12 18:18:24 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-12 18:18:24 +0200
commitdddc28153796f9c8eb256eddb335c8643226fd0b (patch)
tree641caa9a01933d0397a99f127cff249d3a77fdb5 /CHANGES
parentc305ff3ed1f51d86ced2bb83b10b5e0632cd98a3 (diff)
downloadlanes-dddc28153796f9c8eb256eddb335c8643226fd0b.tar.gz
lanes-dddc28153796f9c8eb256eddb335c8643226fd0b.tar.bz2
lanes-dddc28153796f9c8eb256eddb335c8643226fd0b.zip
linda :get(), :set(), :limit() return value changes
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES3
1 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 64c8bdf..80e94cf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -18,13 +18,14 @@ CHANGE 2: BGe 11-Jun-24
18 - new function lanes.finally(). Installs a function that gets called at Lanes shutdown. 18 - new function lanes.finally(). Installs a function that gets called at Lanes shutdown.
19 - lanes have a __close metamethod that calls join(). 19 - lanes have a __close metamethod that calls join().
20 - lanes can no longer be "killed" by hard-stopping their thread without any resource cleanup (see lane:cancel()). 20 - lanes can no longer be "killed" by hard-stopping their thread without any resource cleanup (see lane:cancel()).
21 - lane:join(), linda:receive(), linda:send() return nil, error in case of problem. 21 - lane:join() returns nil, error in case of problem.
22 - lane function body must return a non-nil first value on success if lane is waited upon with lane:join(). 22 - lane function body must return a non-nil first value on success if lane is waited upon with lane:join().
23 - lanes.sleep() accept a new argument "indefinitely" to block forever (until hard cancellation is received). 23 - lanes.sleep() accept a new argument "indefinitely" to block forever (until hard cancellation is received).
24 - Lindas: 24 - Lindas:
25 - providing "auto" as name when constructing a Linda cause Lanes to provide a name built from the source location of the construction. 25 - providing "auto" as name when constructing a Linda cause Lanes to provide a name built from the source location of the construction.
26 - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers. 26 - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers.
27 - linda:deep() result no longer contains the raw C pointer of the Linda object. 27 - linda:deep() result no longer contains the raw C pointer of the Linda object.
28 - linda :receive(), :send(), :get(), :set(), :limit() return nil, error in case of problem. Returned values in case of success change too.
28 - Lindas have a __close metamethod that calls any provided suitable handler at Linda creation. 29 - Lindas have a __close metamethod that calls any provided suitable handler at Linda creation.
29 - Lane generator settings: 30 - Lane generator settings:
30 - error_trace_level added. Replaces the global verbose_errors setting. 31 - error_trace_level added. Replaces the global verbose_errors setting.