Click here to Skip to main content Click here to Skip to main
content  Shared Memory with IPC with threads  By , 4 Oct 2004
Sign Up to vote Add a reason or comment to your vote: x Votes of
3 or less require a comment   This article concentrates in
shared memory design and communication between threads/programs
using shared memory. I would break up this article into two
sections:  About Shared Memory  When a program loads into the
memory, it is broken up into pieces called pages. The
communication would exist between the pages of memory or between
two independent processes. Anyhow, when a program would like to
communicate with another, there should be a common area in the
memory for both the programs. This area which is shared between
processes is called the Shared Memory. If there was no concept
of shared memory, the section of memory occupied by a program
could not be accessed by another one thus disabling the concept
of sharing data or communication. Then again, in order to reduce
integrity of shared data a