Thanks for the reply. The problem is only encountered when the waitpid function is called when the max number of runs is hit. The sleep is currently used to make sure this happens. Are you still calling the sleep. If you are calling waitpid and the 'while' works ok, it may be a problem with our version of perl.
Can you pls confirm & thanks again...
Paul
In reply to Re^2: while/fork problem
by hammopau
in thread while/fork problem
by hammopau
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |