RAII wrapper that detaches mapped SysV shared memory.
More...
|
| | shm_data_t (shm_data_t &&other) noexcept |
| | Move ownership of an attached shared-memory mapping.
|
| |
| | shm_data_t (void *data) |
| | Take ownership of an attached shared-memory mapping.
|
| |
|
|
void * | data |
| | Address returned by shmat for the shared-memory segment.
|
| |
RAII wrapper that detaches mapped SysV shared memory.
◆ shm_data_t() [1/2]
| platf::shm_data_t::shm_data_t |
( |
void * | data | ) |
|
|
inline |
Take ownership of an attached shared-memory mapping.
- Parameters
-
| data | Pointer returned by shmat. |
◆ shm_data_t() [2/2]
| platf::shm_data_t::shm_data_t |
( |
shm_data_t && | other | ) |
|
|
inlinenoexcept |
Move ownership of an attached shared-memory mapping.
- Parameters
-
| other | Shared-memory mapping wrapper whose attachment is moved. |
The documentation for this class was generated from the following file: