Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
NewMap threads()
|
||||
|
||||
Procedure Foo(n)
|
||||
Delay(n)
|
||||
PrintN(Str(n))
|
||||
EndProcedure
|
||||
|
||||
If OpenConsole()
|
||||
For i=1 To CountProgramParameters()
|
||||
threads(Str(i)) = CreateThread(@Foo(), Val(ProgramParameter()))
|
||||
Next
|
||||
|
||||
ForEach threads()
|
||||
WaitThread(threads())
|
||||
Next
|
||||
Print("Press ENTER to exit"): Input()
|
||||
EndIf
|
||||
Loading…
Add table
Add a link
Reference in a new issue