diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2026-02-26 11:30:08 +0100 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2026-02-26 11:30:08 +0100 |
| commit | b0c6549ab95650fb38a6546e0715e80da676277c (patch) | |
| tree | d5f57bea2927f37b2ae3c70cb63879a0226eb389 | |
| parent | 9e4086da77ae7c7ce8a310b9eb7b9d6324932120 (diff) | |
| download | lanes-b0c6549ab95650fb38a6546e0715e80da676277c.tar.gz lanes-b0c6549ab95650fb38a6546e0715e80da676277c.tar.bz2 lanes-b0c6549ab95650fb38a6546e0715e80da676277c.zip | |
update CHANGES
| -rw-r--r-- | CHANGES | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | CHANGES: | 1 | CHANGES: |
| 2 | 2 | ||
| 3 | CHANGE 2: BGe 05-Jun-25 | 3 | CHANGE 2: BGe 26-Feb-26 |
| 4 | * Internal changes | 4 | * Internal changes |
| 5 | - Lanes is implemented in C++20: thread, condition_variable, mutex, string_view, variant, lambdas, templates, and more! | 5 | - Lanes is implemented in C++20: thread, condition_variable, mutex, string_view, variant, lambdas, templates, and more! |
| 6 | - Almost all platform-specific code is gone (only a small bit for thread priority and affinity remains). | 6 | - Almost all platform-specific code is gone (only a small bit for thread priority and affinity remains). |
| @@ -14,6 +14,7 @@ CHANGE 2: BGe 05-Jun-25 | |||
| 14 | - lanes.register() is also available as lanes_register() in the exported C API. | 14 | - lanes.register() is also available as lanes_register() in the exported C API. |
| 15 | - lanes.sleep() accepts a new argument "indefinitely" to block forever (until hard cancellation is received). | 15 | - lanes.sleep() accepts a new argument "indefinitely" to block forever (until hard cancellation is received). |
| 16 | - function set_debug_threadname() available inside a Lane is renamed lane_threadname(); can now both read and write the name. | 16 | - function set_debug_threadname() available inside a Lane is renamed lane_threadname(); can now both read and write the name. |
| 17 | - function cancel_test() raises cancel_error by default in a hard-cancelled lane. | ||
| 17 | - new function lanes.finally(). Installs a function that gets called at Lanes shutdown after attempting to terminate all lanes. | 18 | - new function lanes.finally(). Installs a function that gets called at Lanes shutdown after attempting to terminate all lanes. |
| 18 | If some lanes still run after the finalizer, Universe::__gc with raise an error or freeze, depending on its return value. | 19 | If some lanes still run after the finalizer, Universe::__gc with raise an error or freeze, depending on its return value. |
| 19 | - new function lanes.collectgarbage(), to force a full GC cycle in the keeper states. | 20 | - new function lanes.collectgarbage(), to force a full GC cycle in the keeper states. |
