Shared Memory & Mutex

1. SharedMemoryMutexWriter & SharedMemoryMutexReader
First, run SharedMemoryMutexWriter.exe (this only writes data on the shared memory segment.)

Then, run SharedMemoryMutexReader.exe (it only reads data from the shared memory segment.)

2. SharedMemoryMutexMasterSlave (Both master/slaves write/reads data to/from the shared memory segment.)
First, run SharedMemoryMutexMasterSlave.exe –master
Then, run SharedMemoryMutexMasterSlave.exe

Leave a Reply

Your email address will not be published. Required fields are marked *