I would have the the parent keep these counters in memory. From your description the parent starts the processes and maintain the counts. Why use a file?
Some things to consider:
Sounds like a massive undertaking -- should be fun!
Good Luck!
"Well done is better than well said." - Benjamin Franklin
In reply to Re^3: ithreads or fork() what you recommend?
by flexvault
in thread ithreads or fork() what you recommend?
by pawan68923
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |