Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I've got a program that forks() 10 children.
Each child inherits a sockethandle mapped to (STDOUT) from the parent.
Each child writes a message. Things work most of the time, however, 1 in 10 times the output is garbled.
How can I stop the message getting garbled?
Nige
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: forking messages
by chromatic (Archbishop) on Jan 26, 2002 at 02:33 UTC | |
|
Re: forking messages
by dhable (Monk) on Jan 26, 2002 at 01:07 UTC | |
|
Re: forking messages
by dmmiller2k (Chaplain) on Jan 25, 2002 at 22:58 UTC |