<P> On Windows the function CreateSharedMemory can be used to create a shared memory . Alternatively one can use CreateFileMapping and MapViewOfFile functions to map a region of a file into memory in multiple processes . </P> <P> Some C++ libraries provide a portable and object - oriented access to shared memory functionality . For example, Boost contains the Boost. Interprocess C++ Library and Qt provides the QSharedMemory class . </P> <P> There is native support for shared memory also in programming languages besides C / C++ . For example, PHP provides an API to create shared memory, similar to POSIX functions . </P>

Define the role of shared memory in mpp