diff options
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -16,6 +16,7 @@ CHANGE 2: BGe 27-Nov-24 | |||
16 | - new function lanes.finally(). Installs a function that gets called at Lanes shutdown after attempting to terminate all lanes. | 16 | - new function lanes.finally(). Installs a function that gets called at Lanes shutdown after attempting to terminate all lanes. |
17 | If some lanes still run after the finalizer, Universe::__gc with raise an error or freeze, depending on its return value. | 17 | If some lanes still run after the finalizer, Universe::__gc with raise an error or freeze, depending on its return value. |
18 | - new function lanes.collectgarbage(), to force a full GC cycle in the keeper states. | 18 | - new function lanes.collectgarbage(), to force a full GC cycle in the keeper states. |
19 | - new function lanes.thread_priority_range(), to query the valid range of priorities. | ||
19 | - Configuration settings: | 20 | - Configuration settings: |
20 | - Boolean parameters only accept boolean values. | 21 | - Boolean parameters only accept boolean values. |
21 | - allocator provider function is called with a string hint to distinguish internal allocations, lane and keeper states. | 22 | - allocator provider function is called with a string hint to distinguish internal allocations, lane and keeper states. |
@@ -26,6 +27,8 @@ CHANGE 2: BGe 27-Nov-24 | |||
26 | - verbose_errors removed. Use lane error_trace_level instead. | 27 | - verbose_errors removed. Use lane error_trace_level instead. |
27 | - with_timers is false by default. | 28 | - with_timers is false by default. |
28 | - Non-deep full userdata are processed during module registration just like ordinary module C functions, making them valid transferable (up)values (for example: io.stdin). | 29 | - Non-deep full userdata are processed during module registration just like ordinary module C functions, making them valid transferable (up)values (for example: io.stdin). |
30 | - thread API errors cause a Lua error instead of aborting the program. | ||
31 | - thread priorities can now be set using the native range of values, if desired. | ||
29 | - Lanes: | 32 | - Lanes: |
30 | - Can no longer be "killed" by hard-stopping their thread without any resource cleanup (see lane:cancel()). | 33 | - Can no longer be "killed" by hard-stopping their thread without any resource cleanup (see lane:cancel()). |
31 | - lanes.gen() settings: | 34 | - lanes.gen() settings: |