in reply to Cannot print child process command during fork
To answer your question, simultanious writing to the same file handle by so many child processes probably gets them to clobber each other occasionally.
I would recommend getting rid of the fork entirely - simply put 24 system calls in a loop.
"An undefined problem has an infinite number of solutions." - Robert A. Humphrey "If you're not part of the solution, you're part of the precipitate." - Henry J. Tillman
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot print child process command during fork
by BrowserUk (Patriarch) on Aug 02, 2007 at 05:31 UTC | |
by NetWallah (Canon) on Aug 02, 2007 at 14:56 UTC | |
|
Re^2: Cannot print child process command during fork
by whatwhat (Novice) on Aug 02, 2007 at 07:50 UTC |