in reply to Re: Thread exit errors
in thread Thread exit errors
From you response, in your opinion, what is the better method? Thanks, Jeffforeach $host(@syshosts) { @sysThread = threads->new( \&findHostNodes, $host ); } sub findHostNodes { my $host = @_; #print some stuff about the node #now find the services on the host foreach $service (@r21services) { @serviceThread = threads->new(\@shutdonwServices, $service); } } sub shutdownServices { shut down the windows services we are looking for }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Thread exit errors
by dave_the_m (Monsignor) on Nov 17, 2005 at 23:06 UTC |