Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
nx_stream_t Struct Reference

Caller-owned stream control, initialized before publication. More...

#include <stream.h>

Data Fields

nx_stream_slot_t * slots
size_t count
size_t producer
size_t consumer
size_t outstanding
uint64_t epoch
uint32_t losses
bool stopping

Detailed Description

Caller-owned stream control, initialized before publication.

Note
outstanding counts nonfree blocks, including filling, ready and borrowed states. Only stream operations mutate it.

Definition at line 53 of file stream.h.

Field Documentation

◆ consumer

size_t nx_stream_t::consumer

Definition at line 57 of file stream.h.

◆ count

size_t nx_stream_t::count

Definition at line 55 of file stream.h.

◆ epoch

uint64_t nx_stream_t::epoch

Definition at line 59 of file stream.h.

◆ losses

uint32_t nx_stream_t::losses

Definition at line 60 of file stream.h.

◆ outstanding

size_t nx_stream_t::outstanding

Definition at line 58 of file stream.h.

◆ producer

size_t nx_stream_t::producer

Definition at line 56 of file stream.h.

◆ slots

nx_stream_slot_t* nx_stream_t::slots

Definition at line 54 of file stream.h.

◆ stopping

bool nx_stream_t::stopping

Definition at line 61 of file stream.h.


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