aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.lua')
-rw-r--r--src/lanes.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lanes.lua b/src/lanes.lua
index 57183e9..dfa959d 100644
--- a/src/lanes.lua
+++ b/src/lanes.lua
@@ -357,8 +357,8 @@ local process_gen_opt = function(...)
357end -- process_gen_opt 357end -- process_gen_opt
358 358
359-- lane_h[1..n]: lane results, same as via 'lane_h:join()' 359-- lane_h[1..n]: lane results, same as via 'lane_h:join()'
360-- lane_h[0]: can be read to make sure a thread has finished (always gives 'true') 360-- lane_h[0]: can be read to make sure a thread has finished (gives the number of available results)
361-- lane_h[-1]: error message, without propagating the error 361-- lane_h[negative]: error message, without propagating the error
362-- 362--
363-- Reading a Lane result (or [0]) propagates a possible error in the lane 363-- Reading a Lane result (or [0]) propagates a possible error in the lane
364-- (and execution does not return). Cancelled lanes give 'nil' values. 364-- (and execution does not return). Cancelled lanes give 'nil' values.