aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/lane/tasking_comms_criss_cross.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--unit_tests/scripts/lane/tasking_comms_criss_cross.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit_tests/scripts/lane/tasking_comms_criss_cross.lua b/unit_tests/scripts/lane/tasking_comms_criss_cross.lua
index db63b8e..610da8b 100644
--- a/unit_tests/scripts/lane/tasking_comms_criss_cross.lua
+++ b/unit_tests/scripts/lane/tasking_comms_criss_cross.lua
@@ -27,7 +27,7 @@ PRINT("\n\n", "---=== Comms criss cross ===---", "\n\n")
27 27
28-- We make two identical lanes, which are using the same Linda channel. 28-- We make two identical lanes, which are using the same Linda channel.
29-- 29--
30local tc = lanes_gen("io", {gc_cb = gc_cb}, 30local tc = lanes_gen("io", { name = 'auto', gc_cb = gc_cb },
31 function(linda, ch_in, ch_out) 31 function(linda, ch_in, ch_out)
32 lane_threadname("criss cross " .. ch_in .. " -> " .. ch_out) 32 lane_threadname("criss cross " .. ch_in .. " -> " .. ch_out)
33 local function STAGE(str) 33 local function STAGE(str)
@@ -42,7 +42,7 @@ local tc = lanes_gen("io", {gc_cb = gc_cb},
42 end 42 end
43) 43)
44 44
45local linda= lanes_linda("criss cross") 45local linda= lanes_linda{name = "criss cross"}
46 46
47local a,b= tc(linda, "A","B"), tc(linda, "B","A") -- launching two lanes, twisted comms 47local a,b= tc(linda, "A","B"), tc(linda, "B","A") -- launching two lanes, twisted comms
48 48