Y
Yohan N. Leder
To replace a fork() which crashes ActivePerl 5.8.8 in taint mode, I've
tried to go through creation of a thread... And it crashes too !
#!/usr/bin/perl -wT
use threads;
print "Content-type: text/html\n\n";
my $thr = async{print "<p>thread in progress...</p>"};
die "thread failure\n" unless defined($thr);
$thr->detach();
sleep(1);
print "<p>main in progress...</p>";
exit 0;
ActivePerl falls in exception on async{} block.
What's wrong again ?
tried to go through creation of a thread... And it crashes too !
#!/usr/bin/perl -wT
use threads;
print "Content-type: text/html\n\n";
my $thr = async{print "<p>thread in progress...</p>"};
die "thread failure\n" unless defined($thr);
$thr->detach();
sleep(1);
print "<p>main in progress...</p>";
exit 0;
ActivePerl falls in exception on async{} block.
What's wrong again ?