C Linux sockets for interprocess communication, how to handle mutual exclusion?

63 Views Asked by At

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?

0

There are 0 best solutions below