|
ipcq 0.12.0
|
Control block residing in shared memory shared by readers and writers. More...
#include <shm.hpp>
Public Attributes | |
| std::array< uint8_t, 7 > | magic |
| Magic number that identifies ipcq files. | |
| uint8_t | version |
| IPCQ protocol version number (not IPCQ version number) | |
| std::atomic< unsigned long long > | range |
| Range contains the compressed information about begin, end of queue. | |
| size_t | element_type_hash |
| std::hash of element type T | |
| size_t | condition_type_hash |
| std::hash of ConditionPolicy | |
| QueueInfo | queue_spec |
| std::atomic< pid_t > | owner_pid |
| Non-zero process id of owner if owner is available or 0 if owner gracefully destructed itself but could not free shared memory because it is still allocated by readers. | |
Parameters used by ipcq-spy | |
| char | element_type_name [config::TYPENAME_SEQ_LEN] |
| char | condition_type_name [config::TYPENAME_SEQ_LEN] |
Control block residing in shared memory shared by readers and writers.
The control block only uses offsets since base address for each user is different.
| size_t ipcq::detail::ShmControlBlock::condition_type_hash |
| char ipcq::detail::ShmControlBlock::condition_type_name[config::TYPENAME_SEQ_LEN] |
| size_t ipcq::detail::ShmControlBlock::element_type_hash |
| char ipcq::detail::ShmControlBlock::element_type_name[config::TYPENAME_SEQ_LEN] |
| std::array<uint8_t, 7> ipcq::detail::ShmControlBlock::magic |
| std::atomic<pid_t> ipcq::detail::ShmControlBlock::owner_pid |
| std::atomic<unsigned long long> ipcq::detail::ShmControlBlock::range |
| uint8_t ipcq::detail::ShmControlBlock::version |