Is there a way so that we can synchronize two independent processes? For example, if they use a resource, I would like to synchronize them.
I am using C #.
you can use the mutex class
see the documentation here: http://msdn.microsoft.com/en-us/library/system.threading.mutex.aspx
You can use WCF with a channel binding or named synchronization objects, for example, Mutex to synchronize between two processes
.
You can also implement the API in WCF using named pipes, which can give you good synchronization in OO code without system calls and complete the test. Named pipes will also give you not only synchronization, but also a message.