Implemented loop iterators
This commit is contained in:
parent
144810c6c8
commit
ac03657307
17 changed files with 147 additions and 35 deletions
|
@ -2,9 +2,10 @@ import io
|
|||
import thread
|
||||
|
||||
main() {
|
||||
thread.create(work)
|
||||
thread.create(work)
|
||||
thread.create(work)
|
||||
loop 0..3 {
|
||||
thread.create(work)
|
||||
}
|
||||
|
||||
work()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue