diff options
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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(). |