my $pid = fork; if (!$pid) { # execute background code exit; } else { # execute concurrent foreground code waitpid $pid, 0; } # execute non-concurrent foreground code
One world, one people
In reply to Re: threads->create hangs
by anonymized user 468275
in thread threads->create hangs
by duane_ellis2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |