aboutsummaryrefslogtreecommitdiff
path: root/tests/protect_allocator.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/protect_allocator.lua')
-rw-r--r--tests/protect_allocator.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/protect_allocator.lua b/tests/protect_allocator.lua
index 994cb39..325726a 100644
--- a/tests/protect_allocator.lua
+++ b/tests/protect_allocator.lua
@@ -36,7 +36,7 @@ end
36 36
37-- start threads 37-- start threads
38local COUNT = 4 38local COUNT = 4
39local gen = lanes.gen( "*", body) 39local gen = lanes.gen( "*", { name = 'auto' }, body)
40for i = 1, COUNT do 40for i = 1, COUNT do
41 gen( i) 41 gen( i)
42end 42end
@@ -52,7 +52,7 @@ end
52 52
53-- wait for completion 53-- wait for completion
54print "wait for completion" 54print "wait for completion"
55linda:receive( linda.batched, "key", COUNT) 55linda:receive_batched("key", COUNT)
56print "waiting a bit more ..." 56print "waiting a bit more ..."
57SLEEP(1) 57SLEEP(1)
58print "SUCCESS" 58print "SUCCESS"