Defined in file: hzProcess.h
Shared memory segment for Inter-process Communication.
Constructors/Detructors
| hzShmem* | hzShmem | (void) | |
| void | ~hzShmem | (void) |
Public Methods:
| void* | GetMem | (void) | |
| hzEcode | Init | (const char* name)uint32_t size, uint32_t mask, | Initialize a segment of persistant shared memory. Note that as shared memory is a system wide rather than an application wide resource, the rules concerning program Unix User ID and access permissions apply. |
| uint32_t | Size | (void) | Obtain the size of the shared memory segment Arguments: None |
Member Variables:
| uint32_t | m_fd | Shared memory 'file descriptor' | |
| hzString | m_name | Shared memory segment name | |
| void* | m_pStart | Pointer to start | |
| uint32_t | m_perm | Access permissions | |
| uint32_t | m_resv | Reserved | |
| uint32_t | m_size | Shared memory segment size |