Threads and closures


#1

will this work?

for (person in people) {
thread {
println(person.Name)
}
}


#2

Yes, with some caveats. What is your concern?