aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-12 08:26:47 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-12 08:26:47 +0200
commit9b78a51e6eb060ce0bee664d18facc656135035a (patch)
tree9c4004e4dc88a1dffd999ed2057e741d79ef818b /CHANGES
parent529c31f3a4ca26f2f57052db352e1f686317b19c (diff)
downloadlanes-9b78a51e6eb060ce0bee664d18facc656135035a.tar.gz
lanes-9b78a51e6eb060ce0bee664d18facc656135035a.tar.bz2
lanes-9b78a51e6eb060ce0bee664d18facc656135035a.zip
Documentation tweaks
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES11
1 files changed, 6 insertions, 5 deletions
diff --git a/CHANGES b/CHANGES
index fe5b72e..64794b1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,18 +4,19 @@ CHANGE 2: BGe 11-Jun-24
4 * Lanes API changes 4 * Lanes API changes
5 - Version is now 4.0.0 5 - Version is now 4.0.0
6 - Lanes configuration settings: 6 - Lanes configuration settings:
7 - demote_full_userdata removed. 7 - demote_full_userdata removed. Use __lanesconvert instead.
8 - keepers_gc_threshold added. Control when GC runs inside keepers. 8 - keepers_gc_threshold added. Controls when GC runs inside keepers.
9 - nb_keepers changed to nb_user_keepers. limited to 100 keepers on top of the internal keeper used by the timer Linda. 9 - nb_keepers changed to nb_user_keepers. limited to 100 keepers on top of the internal keeper used by the timer Linda.
10 - shutdown_mode added. Controls how free running lanes are signalled at Lanes shutdown. 10 - shutdown_mode added. Controls how free running lanes are signalled at Lanes shutdown.
11 - strip_functions added. Only useful for Lua 5.3+. 11 - strip_functions added. Only useful for Lua 5.3+.
12 - verbose_errors removed. 12 - verbose_errors removed. Use lane error_trace_level instead.
13 - with_timers is false by default. 13 - with_timers is false by default.
14 - Full userdata conversion: 14 - Full userdata conversion:
15 - __lanesignore removed. 15 - __lanesignore removed. Use __lanesconvert instead.
16 - __lanesconvert added. Also replaces the global Lanes setting demote_full_userdata. 16 - __lanesconvert added.
17 - Lanes API and behavior: 17 - Lanes API and behavior:
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 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()).
20 - lane:join(), linda:receive(), linda:send() return nil, error in case of problem. 21 - lane:join(), linda:receive(), linda:send() return nil, error in case of problem.
21 - 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().