Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWritableRegion ¶
func CreateWritableRegion(name string, flag int, perm os.FileMode, size int) (*mmf.MemoryRegion, bool, error)
CreateWritableRegion is a helper, which:
- creates a shared memory object with given parameters.
- creates a mapping for the entire region with mmf.MEM_READWRITE flag.
- closes memory object and returns memory region and a flag whether the object was created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.