What is shared memory?
Shared memory is one of the mechanisms listed under the name of Inter Process Comunication (IPC), along with semaphores and message queues (FIFO). Using shared memory, as its name suggests, we can create shared memory areas by several processes. Thus process changes made to the values stored in shared memory are visible to other processes using the same shared memory.