|
Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
|
A channel, the per-worker submission and completion ring pair. More...
#include <internal.h>
Data Fields | |
| srn_spsc_ring_t * | sq |
| srn_spsc_ring_t * | cq |
| size_t | inflight |
| Operations submitted on this channel and not yet consumed. | |
A channel, the per-worker submission and completion ring pair.
Definition at line 30 of file internal.h.
| srn_spsc_ring_t* srn_reactor_io_channel_t::cq |
Definition at line 34 of file internal.h.
| size_t srn_reactor_io_channel_t::inflight |
Operations submitted on this channel and not yet consumed.
Touched only by the channel's owning worker os thread (the submit path bumps it, the consume path drops it), so it needs no atomics. Admission control caps it at the ring capacity, which is what makes a full SQ or CQ impossible.
Definition at line 40 of file internal.h.
| srn_spsc_ring_t* srn_reactor_io_channel_t::sq |
Definition at line 32 of file internal.h.