|
| SharedMem (const char *name, int size) |
|
| SharedMem (int shm_id, int sem_id, int size) |
|
| ~SharedMem (void) |
|
void * | ptr (void) |
|
int | shmid (void) |
|
bool | IsCreated (void) |
|
void | lock (void) |
|
void | unlock (void) |
|
bool | isLocked (void) |
|
|
static std::string | getTmpFileName (std::string user, std::string name) |
|
static bool | getIdFromTmpFileName (std::string filename, int &shmid, int &semid) |
|
|
bool | m_new {false} |
| True if we created the ring buffer ourselves (and need to clean it).
|
|
key_t | m_shmkey |
| SHM key, see shmget(2).
|
|
key_t | m_semkey |
| Semaphore key.
|
|
int | m_shmid {-1} |
| shared memory id
|
|
int | m_semid {-1} |
| semaphore id
|
|
void * | m_shmadr {nullptr} |
|
Definition at line 19 of file SharedMem.h.
◆ ~SharedMem()
this killed the shared mems if the b2hlt... utils are run, thus commented!
Definition at line 145 of file SharedMem.cc.
The documentation for this class was generated from the following files: