Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
platf::shm_id_t Class Reference

RAII wrapper that removes a SysV shared-memory segment. More...

Public Member Functions

 shm_id_t (int id)
 Explicitly take ownership of a SysV shared-memory segment ID.
 shm_id_t (shm_id_t &&other) noexcept
 Move ownership of a SysV shared-memory segment ID.

Public Attributes

int id
 SysV shared-memory segment identifier returned by shmget.

Detailed Description

RAII wrapper that removes a SysV shared-memory segment.

Constructor & Destructor Documentation

◆ shm_id_t() [1/2]

platf::shm_id_t::shm_id_t ( int id)
inlineexplicit

Explicitly take ownership of a SysV shared-memory segment ID.

Parameters
idSysV shared-memory segment ID.

◆ shm_id_t() [2/2]

platf::shm_id_t::shm_id_t ( shm_id_t && other)
inlinenoexcept

Move ownership of a SysV shared-memory segment ID.

Parameters
otherShared-memory ID wrapper whose segment ownership is moved.

The documentation for this class was generated from the following file: