SPSC
A shared memory single-producer single-consumer (SPSC) queue
spsc_ring_data Struct Reference

#include <spsc.h>

Data Fields

char _header [2]
 
int _version
 
size_t _size
 
char __pad0 [64]
 
size_t _rpos
 
char __pad1 [64]
 
size_t _wpos
 
char __pad2 [64]
 
char _buf []
 

Detailed Description

Internal structure representing the data stored in the shared memory file.

Field Documentation

◆ __pad0

char spsc_ring_data::__pad0[64]

◆ __pad1

char spsc_ring_data::__pad1[64]

◆ __pad2

char spsc_ring_data::__pad2[64]

◆ _buf

char spsc_ring_data::_buf[]

◆ _header

char spsc_ring_data::_header[2]

◆ _rpos

size_t spsc_ring_data::_rpos

◆ _size

size_t spsc_ring_data::_size

◆ _version

int spsc_ring_data::_version

◆ _wpos

size_t spsc_ring_data::_wpos

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