diff options
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 36 |
1 files changed, 19 insertions, 17 deletions
@@ -1,16 +1,18 @@ | |||
1 | CHANGES: | 1 | CHANGES: |
2 | 2 | ||
3 | CHANGE 2: BGe 11-Jun-24 | 3 | 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. Use __lanesconvert instead. | 7 | - Boolean parameters only accept boolean values. |
8 | - keepers_gc_threshold added. Controls when GC runs inside keepers. | 8 | - allocator provider function is called with a string hint to distinguish lane and keeper states. |
9 | - nb_keepers changed to nb_user_keepers. limited to 100 keepers on top of the internal keeper used by the timer Linda. | 9 | - demote_full_userdata removed. Use __lanesconvert instead. |
10 | - shutdown_mode added. Controls how free running lanes are signalled at Lanes shutdown. | 10 | - keepers_gc_threshold added. Controls when GC runs inside keepers. |
11 | - strip_functions added. Only useful for Lua 5.3+. | 11 | - nb_keepers changed to nb_user_keepers. limited to 100 keepers on top of the internal keeper used by the timer Linda. |
12 | - verbose_errors removed. Use lane error_trace_level instead. | 12 | - shutdown_mode added. Controls how free running lanes are signalled at Lanes shutdown. |
13 | - with_timers is false by default. | 13 | - strip_functions added. Only useful for Lua 5.3+. |
14 | - verbose_errors removed. Use lane error_trace_level instead. | ||
15 | - with_timers is false by default. | ||
14 | - Full userdata conversion: | 16 | - Full userdata conversion: |
15 | - __lanesignore removed. Use __lanesconvert instead. | 17 | - __lanesignore removed. Use __lanesconvert instead. |
16 | - __lanesconvert added. | 18 | - __lanesconvert added. |
@@ -26,17 +28,17 @@ CHANGE 2: BGe 11-Jun-24 | |||
26 | - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers. | 28 | - 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. | 29 | - 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. | 30 | - linda :receive(), :send(), :get(), :set(), :limit() return nil, error in case of problem. Returned values in case of success change too. |
29 | - Lindas have a __close metamethod that calls any provided suitable handler at Linda creation. | 31 | - Lindas have a __close metamethod that calls any suitable handler that was provided at Linda creation. |
30 | - Lane generator settings: | 32 | - Lane generator settings: |
31 | - error_trace_level added. Replaces the global verbose_errors setting. | 33 | - error_trace_level added. Replaces the global verbose_errors setting. |
32 | - name added. Can be used to set the name early (before the lane body calls set_debug_threadname()). | 34 | - name added. Can be used to set the name early (before the lane body calls set_debug_threadname()). |
33 | * Internal changes | 35 | * Internal changes |
34 | - Lanes is implemented in C++20: thread, condition_variable, mutex, string_view, variant, and more! | 36 | - Lanes is implemented in C++20: thread, condition_variable, mutex, string_view, variant, and more! |
35 | - Almost all platform-specific code is gone (only a small bit for thread priority and affinity remains). | 37 | - Almost all platform-specific code is gone (only a small bit for thread priority and affinity remains). |
36 | - Decoda support inactive by default. | 38 | - Decoda support inactive by default. |
37 | - Deep userdata interface fully revamped to C++20 too. | 39 | - Deep userdata interface fully revamped to C++20 too. |
38 | 40 | ||
39 | CHANGE 1: BGe 9-Apr-24 | 41 | CHANGE 1: BGe 9-Apr-24 |
40 | * reset changelog, next entry will list API changes since last C-implementation. | 42 | * reset changelog, next entry will list API changes since last C-implementation. |
41 | 43 | ||
42 | (end) | 44 | (end) |