Between processes rather than threads
Two separate processes share a memory region and need mutual exclusion over it. A mutex declared as an ordinary variable inside one process is not enough.
Why?
Two separate processes share a memory region and need mutual exclusion over it. A mutex declared as an ordinary variable inside one process is not enough.
Why?