Marc 'BlackJack' Rintsch ha scritto:
> for thread in threads:
> thread.join()
>
> Much shorter, isn't it!? :-)
If i do like you tell, all thread will run together right? So i'll get
troubles!
I have a list of hostname, i run a network program and then i need to
write some of the outpu
In <[EMAIL PROTECTED]>, Flyzone wrote:
> I need to run in thread a command, one thread for one parameter.
> So i made a for loop, creating 5 threads and waiting their stop with:
> Main {
>open file BW2 for write
>. (creating list of thread with a counter)
>Stopped=False
>wh
I have a list of parameters.
I need to run in thread a command, one thread for one parameter.
So i made a for loop, creating 5 threads and waiting their stop with:
for parameter in parameters
Thread{
write on BW2
}
Main {
open file BW2 for write
. (creating list of