3
When multiple shots are fired Thread
s in a specific loop, upon completion of each, the Thread
stays open needing a "close" or is automatically finished?
for(int i=0;i<=10;i++){
Process ps = new Process();
Thread thread = new Thread(ps);
thread.start();
}
The above code is just as an example, because I have a list of processes stored in Amazon AWS SQS, and I need each found process to run in a Thread
.