In order to effeciently use all the children, I want each child to only take one "task" from the pipe, leaving the next child to pickup the next "task". The work data is separated by a newline, and each child reads up to the first newline it encounters.I would write a magazine article about it, probably....
What would you do?
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: Tasking children from a single pipe
by merlyn
in thread Tasking children from a single pipe
by vancetech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |