Hi,
Nope I dont have any references to $thread once its created. One thing
when I was trying to do is
my $thread = threads->new()->detach;
then this was giving me error:
Free to wrong pool at Widget.pm at 96 during global destruction.
but when I do this
my $th
> > for ($i=1;$i<255;$i++)
> > {
> > $host="10.10.10."."$i";
> > my $thread = threads->create(threads,subping($host));
> > }
>
> here I would say, you should write:
> my $thread1 = threads->new(\&subping, $host);
>
So, what happens to the $thread variable in each iteration of the loo
Hello,
> Von: Ollivier Cédric
> I have a problem with my program. I would like to do some
> instructions in the same time by using thread.
> Why can I do for creating multithread in Perl ?
> That's my program.
> use threads;
> use Config;
>
> use Net::Ping;
>
> $Config{u
Hello
I have a problem with my program. I would like to do some instructions in the same
time by using thread.
Why can I do for creating multithread in Perl ?
That's my program.
use threads;
use Config;
use Net::Ping;
$Config{useithreads} or die
"Recomp