From 575e22afdc316bd0d3b2cedb10d00d8b50b3b5dd Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 29 Jan 2024 09:54:16 -0600 Subject: test --- tests/s.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tests/s.lua') diff --git a/tests/s.lua b/tests/s.lua index 51c0b6a..5adc783 100644 --- a/tests/s.lua +++ b/tests/s.lua @@ -1,15 +1,15 @@ -require "llib" -function sleep (a) - local sec = tonumber(os.clock() + a); - while (os.clock() < sec) do - end -end - -for i=1,500 do - llib.net.spawn(function() - --sleep(1) - print("hi") - end) -end - +require "llib" +function sleep (a) + local sec = tonumber(os.clock() + a); + while (os.clock() < sec) do + end +end + +for i=1,500 do + llib.net.spawn(function() + --sleep(1) + print("hi") + end) +end + while true do end \ No newline at end of file -- cgit v1.2.3