From 91a34bd09900967e8b9cccdbd6d94a9f8cc8506c Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 6 Jun 2024 17:22:45 +0200 Subject: lanes.linda("auto") --- docs/index.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/index.html') diff --git a/docs/index.html b/docs/index.html index 1b24422..e17c7db 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1216,6 +1216,11 @@ [true|lanes.cancel_error] = h:limit(key, n_uint) +

+ Converting the Linda to a string will yield the provided name prefixed by "Linda: ".
+ If opt_name is omitted, it will evaluate to an hexadecimal number uniquely representing that linda.
+ If opt_name is "auto", Lanes will try to construct a name from the source location that called lanes.linda(). If that fails, the linda name will be "<unresolved>". +

Timeouts are given in seconds (>= 0, millisecond accuracy) or nil. Timeout can be omitted only if the first key is not a number (then it's equivalent to an infinite duration).

-- cgit v1.2.3-55-g6feb