Hey All,
I am taking two processes in Two threads in Perl Code suppose
$thread1 = threads->create(sub xx { -----});
$thread2 = threads->create(sub cmd {$res=qq(----);
return($res);
});
Now I need to Exit $thread1 with (0) status. And want $thread2 to keep running.
Is it possible to achive this scenario. Any help is appriciated.
Thanks