Create and make accessable a shared memory segment.
- Parameters:
-
m | The shared memory structure to create. |
reqsize | The desired size of the segment. |
filename | The file to use for shared memory on platforms that require it. |
pool | the pool from which to allocate the shared memory structure. |
Remove named resource associated with a shared memory segment, preventing attachments to the resource, but not destroying it.
- Parameters:
-
filename | The filename associated with shared-memory segment which needs to be removed |
pool | The pool used for file operations |
Destroy a shared memory segment and associated memory.
- Parameters:
-
m | The shared memory segment structure to destroy. |
Attach to a shared memory segment that was created by another process.
- Parameters:
-
m | The shared memory structure to create. |
filename | The file used to create the original segment. (This MUST match the original filename.) |
pool | the pool from which to allocate the shared memory structure for this process. |
Detach from a shared memory segment without destroying it.
- Parameters:
-
m | The shared memory structure representing the segment to detach from. |