in reply to Threads and output files (locking)
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.
|
|---|