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

#include <spsc.h>

Collaboration diagram for spsc_ring:

Data Fields

spsc_ring_data_data
 
int mode
 
int flock_fd
 

Detailed Description

Structure holding runtime information of the ring.

Field Documentation

◆ _data

spsc_ring_data* spsc_ring::_data

Reference to shared memory data.

◆ flock_fd

int spsc_ring::flock_fd

File descriptor for the held read/write lock.

◆ mode

int spsc_ring::mode

Indicator to check whether this structure is used for publishing or subscribing.


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