aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-27 12:40:36 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-27 12:40:36 +0200
commit726aee3fbb909946e69866cc6c4497c5ec365fe8 (patch)
tree3d90edeb2a97039b464e7e61e7d87d901319e625 /tests
parent62a7eab66f8f6af66c94390138815c3171b62810 (diff)
downloadlanes-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.lua1
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"
9local linda= lanes.linda() 9local linda= lanes.linda()
10local key= "$" 10local key= "$"
11 11
12-- TODO: test what happens when we cancel the linda
12local f= lanes.genatomic( linda, key, 5 ) 13local f= lanes.genatomic( linda, key, 5 )
13 14
14local v 15local v