From f3b7facea8de585dda1d4f5bd1d9716b40b1ce94 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 4 Jul 2024 09:46:53 +0200 Subject: get_debug_threadname → get_threadname MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/basic.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/basic.lua b/tests/basic.lua index f44c75f..820d3c8 100644 --- a/tests/basic.lua +++ b/tests/basic.lua @@ -501,12 +501,12 @@ end) h= S { 12, 13, 14 } -- execution starts, h[1..3] will get the return values -- wait a bit so that the lane has a chance to set its debug name SLEEP(0.5) -print("joining with '" .. h:get_debug_threadname() .. "'") +print("joining with '" .. h:get_threadname() .. "'") local a,b,c,d= h:join() if h.status == "error" then - print(h:get_debug_threadname(), "error: " , a, b, c, d) + print(h:get_threadname(), "error: " , a, b, c, d) else - print(h:get_debug_threadname(), a,b,c,d) + print(h:get_threadname(), a,b,c,d) assert(a==14) assert(b==13) assert(c==12) -- cgit v1.2.3-55-g6feb