This commit is contained in:
2024-05-30 12:49:29 +01:00
parent d48b0ab7b6
commit 9945e1590f

View File

@@ -11,4 +11,6 @@ term.time("start")
for (i from 0 to 100) do for (i from 0 to 100) do
threads.append(thread(()=mythread(i))) threads.append(thread(()=mythread(i)))
threads[i].start() threads[i].start()
for (i from 0 to 100) do
threads[i].join()
term.timeEnd("start") term.timeEnd("start")