From efb81b501adbbddf25615bbcc216bbbf3a3c8e0a Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 23 Apr 2025 14:27:00 +0200 Subject: cancel_test() returns "soft"/"hard" instead of true --- docs/index.html | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'docs/index.html') diff --git a/docs/index.html b/docs/index.html index e3e8c7a..e3fbd0b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -71,7 +71,7 @@

- This document was revised on 21-Apr-25, and applies to version 4.0.0. + This document was revised on 23-Apr-25, and applies to version 4.0.0.

@@ -215,6 +215,7 @@
  • Inside the lane @@ -1222,26 +1223,36 @@ First argument is a mode. It can be one of: - If mode is not specified, it defaults to "hard". +

    + If mode is not specified, it defaults to "hard". +

    +

    +

    If wake_lane is true, the lane is also signalled so that execution returns from any pending linda operation. linda operations detecting the cancellation request return lanes.cancel_error.

    -timeout is an optional number >= 0. Defaults to infinite if left unspecified or nil. -
    +

    + timeout is an optional number >= 0. Defaults to infinite if left unspecified or nil. +

    If the lane is still running after the timeout expired, there is a chance lanes will freeze forever at shutdown when failing to terminate all free-running lanes within the specified timeout.

    -- cgit v1.2.3-55-g6feb