diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-28 17:52:29 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-28 17:52:29 +0200 |
commit | ac12af5c39b0689edb931fbe9a162db5687d392f (patch) | |
tree | 91dd99b3808a1dae237a7f343c449c999e80a4f1 /CHANGES | |
parent | 726aee3fbb909946e69866cc6c4497c5ec365fe8 (diff) | |
download | lanes-ac12af5c39b0689edb931fbe9a162db5687d392f.tar.gz lanes-ac12af5c39b0689edb931fbe9a162db5687d392f.tar.bz2 lanes-ac12af5c39b0689edb931fbe9a162db5687d392f.zip |
Make Lanes crash on purpose at shutdown if some lanes still run
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,6 @@ CHANGE 2: BGe 11-Jun-24 | |||
9 | - demote_full_userdata removed. Use __lanesconvert instead. | 9 | - demote_full_userdata removed. Use __lanesconvert instead. |
10 | - keepers_gc_threshold added. Controls when GC runs inside keepers. | 10 | - keepers_gc_threshold added. Controls when GC runs inside keepers. |
11 | - nb_keepers changed to nb_user_keepers. limited to 100 keepers on top of the internal keeper used by the timer Linda. | 11 | - nb_keepers changed to nb_user_keepers. limited to 100 keepers on top of the internal keeper used by the timer Linda. |
12 | - shutdown_mode added. Controls how free running lanes are signalled at Lanes shutdown. | ||
13 | - strip_functions added. Only useful for Lua 5.3+. | 12 | - strip_functions added. Only useful for Lua 5.3+. |
14 | - verbose_errors removed. Use lane error_trace_level instead. | 13 | - verbose_errors removed. Use lane error_trace_level instead. |
15 | - with_timers is false by default. | 14 | - with_timers is false by default. |
@@ -17,7 +16,8 @@ CHANGE 2: BGe 11-Jun-24 | |||
17 | - __lanesignore removed. Use __lanesconvert instead. | 16 | - __lanesignore removed. Use __lanesconvert instead. |
18 | - __lanesconvert added. | 17 | - __lanesconvert added. |
19 | - Lanes API and behavior: | 18 | - Lanes API and behavior: |
20 | - new function lanes.finally(). Installs a function that gets called at Lanes shutdown. | 19 | - new function lanes.finally(). Installs a function that gets called at Lanes shutdown after attempting to terminate all lanes. |
20 | - If some lanes still run at shutdown, Lanes with throw an exception (or freeze, this is to be decided). | ||
21 | - lanes have a __close metamethod that calls join(). | 21 | - lanes have a __close metamethod that calls join(). |
22 | - lanes can no longer be "killed" by hard-stopping their thread without any resource cleanup (see lane:cancel()). | 22 | - lanes can no longer be "killed" by hard-stopping their thread without any resource cleanup (see lane:cancel()). |
23 | - lane:join() returns nil, error in case of problem. | 23 | - lane:join() returns nil, error in case of problem. |