I have a Linux host system where I have different process that send information by an unix socket to another process. The idea was to use a socket that receives all the data for the rest of the process. But I read that sockets are not safe-thread and I don't know how I can mantain the mutual exclusion using differents process.
Can anyone give me a hint?