December 15
I share data between two programs.  Programs on side A output .bin files full of doubles like around 19KB each.  And there can be between 30 - 100 of these bin files.

I have a thread for each file on the B side, which first checks the existence of filename__MUTEX.txt.  If it exist, then a program on side A is busy with filename.bin.

The same goes for programs on A side waiting for program on B side to finish with the file (reading it).

A -> B  (data flow)

I don't think the easiest solution is sockets.  Those are a pain for me because I'm new to them.

Well anyway, threads on side B are crashing because they can't find the input file occasionally!

It would be nice to know that my file mutex method is not the problem.