diff options
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -24,6 +24,7 @@ CHANGE 2: BGe 11-Jun-24 | |||
24 | - lane function body must return a non-nil first value on success if lane is waited upon with lane:join(). | 24 | - lane function body must return a non-nil first value on success if lane is waited upon with lane:join(). |
25 | - lanes.sleep() accept a new argument "indefinitely" to block forever (until hard cancellation is received). | 25 | - lanes.sleep() accept a new argument "indefinitely" to block forever (until hard cancellation is received). |
26 | - lanes.gen() is stricter wrt base libraries (can raise an error if it doesn't exist in the Lua flavor it's built against). | 26 | - lanes.gen() is stricter wrt base libraries (can raise an error if it doesn't exist in the Lua flavor it's built against). |
27 | - function set_debug_threadname() available inside a Lane is renamed lane_threadname(); can now both read and write the name. | ||
27 | - Lindas: | 28 | - Lindas: |
28 | - providing "auto" as name when constructing a Linda cause Lanes to provide a name built from the source location of the construction. | 29 | - providing "auto" as name when constructing a Linda cause Lanes to provide a name built from the source location of the construction. |
29 | - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers. | 30 | - specifying a group to lanes.linda() is mandatory when Lanes is configured with user Keepers. |
@@ -35,7 +36,7 @@ CHANGE 2: BGe 11-Jun-24 | |||
35 | - deep userdata are an acceptable key to send data into (for example, another linda). | 36 | - deep userdata are an acceptable key to send data into (for example, another linda). |
36 | - Lane generator settings: | 37 | - Lane generator settings: |
37 | - error_trace_level added. Replaces the global verbose_errors setting. | 38 | - error_trace_level added. Replaces the global verbose_errors setting. |
38 | - name added. Can be used to set the name early (before the lane body calls set_debug_threadname()). | 39 | - name added. Can be used to set the name early (before the lane body calls lane_threadname()). |
39 | * Internal changes | 40 | * Internal changes |
40 | - Lanes is implemented in C++20: thread, condition_variable, mutex, string_view, variant, and more! | 41 | - Lanes is implemented in C++20: thread, condition_variable, mutex, string_view, variant, and more! |
41 | - Almost all platform-specific code is gone (only a small bit for thread priority and affinity remains). | 42 | - Almost all platform-specific code is gone (only a small bit for thread priority and affinity remains). |