summaryrefslogtreecommitdiff
path: root/tests/modules/thread
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/thread')
-rw-r--r--tests/modules/thread/sleep.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modules/thread/sleep.lua b/tests/modules/thread/sleep.lua
index 1a6ed8d91..75586d615 100644
--- a/tests/modules/thread/sleep.lua
+++ b/tests/modules/thread/sleep.lua
@@ -10,6 +10,7 @@ end
function main()
for i = 1, 10 do
+ -- TODO use thread.start and group
thread.new(callback, {argv = {i}, name = "session_" .. i}):start()
end
--thread.wait()