diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-27 12:40:36 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-27 12:40:36 +0200 |
commit | 726aee3fbb909946e69866cc6c4497c5ec365fe8 (patch) | |
tree | 3d90edeb2a97039b464e7e61e7d87d901319e625 /tests | |
parent | 62a7eab66f8f6af66c94390138815c3171b62810 (diff) | |
download | lanes-726aee3fbb909946e69866cc6c4497c5ec365fe8.tar.gz lanes-726aee3fbb909946e69866cc6c4497c5ec365fe8.tar.bz2 lanes-726aee3fbb909946e69866cc6c4497c5ec365fe8.zip |
linda:limit() and linda:set() return a second value, a string representing the fill status
Diffstat (limited to 'tests')
-rw-r--r-- | tests/atomic.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/atomic.lua b/tests/atomic.lua index 2de8f52..511a19e 100644 --- a/tests/atomic.lua +++ b/tests/atomic.lua | |||
@@ -9,6 +9,7 @@ local lanes = require "lanes" | |||
9 | local linda= lanes.linda() | 9 | local linda= lanes.linda() |
10 | local key= "$" | 10 | local key= "$" |
11 | 11 | ||
12 | -- TODO: test what happens when we cancel the linda | ||
12 | local f= lanes.genatomic( linda, key, 5 ) | 13 | local f= lanes.genatomic( linda, key, 5 ) |
13 | 14 | ||
14 | local v | 15 | local v |