When firing multiple% s of% s in a specific loop, at the completion of each, does Thread
open in need of a "close" or is it terminated automatically?
for(int i=0;i<=10;i++){
Process ps = new Process();
Thread thread = new Thread(ps);
thread.start();
}
The code above is just an example, because I have a list of processes stored in Amazon AWS SQS, and I need every process found to run in Thread
.