summaryrefslogtreecommitdiff
path: root/tests/modules/thread/sleep.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/thread/sleep.lua')
-rw-r--r--tests/modules/thread/sleep.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/modules/thread/sleep.lua b/tests/modules/thread/sleep.lua
index 8d4c410f6..9f7bb859c 100644
--- a/tests/modules/thread/sleep.lua
+++ b/tests/modules/thread/sleep.lua
@@ -1,6 +1,8 @@
import("core.thread.thread")
function callback(id)
+ print("hello")
+ --[[
print("%s: %d starting ..", thread.running(), id)
local dt = os.mclock()
for i = 1, 10 do
@@ -9,6 +11,7 @@ function callback(id)
end
dt = os.mclock() - dt
print("%s: %d end, dt: %d ms", thread.running(), id, dt)
+ ]]
end
function main()