Or
How can I restart thread a thread if it died with same thread Id?
# some code here.... for (0 ..3)) { my $thr = threads->create ( sub { worker(); } )->detach(); } # Master Thread while (1) { master(); }
In reply to Re^4: Scope of thread variable
by mr_p
in thread Scope of thread variable
by mr_p
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |