shared memory

POSIX Shared Memory in Linux

1.0 Shared Memory Shared memory is the fastest method of interprocess communication (IPC) under Linux and other Unix-like systems. The system provides a shared memory segment which the calling process can map to its address space. After that, it behaves just like any other part of the process’s address space. 2.0 Why is shared memory …

POSIX Shared Memory in Linux Read More »

System V Shared Memory in Linux

1.0 Shared Memory Shared memory is one of the three interprocess communication (IPC) mechanisms available under Linux and other Unix-like systems. The other two IPC mechanisms are the message queues and semaphores. In case of shared memory, a shared memory segment is created by the kernel and mapped to the data segment of the address …

System V Shared Memory in Linux Read More »