My suggestion would be to start an extra process that opened four sockets or named pipes and have the other processes write to those.
ps. You might have received more responses had you not mentioned threads in your title when you are not using threading.
In reply to Re: Threads and output files (locking)
by BrowserUk
in thread Threads and output files (locking)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |