Would appreciate if you could help me understand whats going on
I've already explained:
The only reason it wouldn't be responsive is if you have slow code that executes in the parent.
In addition to intentionally slowing down the parent (sleep 5;), your parent blocks (my $job = $clnt->reserve();). This prevents it from reaping in a timely manner.
In reply to Re^4: Should I call waitpid when using Parallel::ForkManager to fork in an infinite loop?
by ikegami
in thread Should I call waitpid when using Parallel::ForkManager to fork in an infinite loop?
by unlinker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |