Shared Memory & Mutex

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

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

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

Leave a Reply

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