📨 chic 0.0.0
Realtime-safe channels in C
Loading...
Searching...
No Matches
claim Struct Reference

Claimed space for reading or writing directly into the internal ringbuffer of a channel. More...

#include <claim.h>

Data Fields

size_t seq
 The sequence number of this claim.
size_t len [2]
 The lengths of the two slices.
char * ptr [2]
 The pointers to the start of the two slices.

Detailed Description

Claimed space for reading or writing directly into the internal ringbuffer of a channel.

This claimed space consists of one or two slices of its origin channel's internal ringbuffer.

A claim must be committed only into the channel it was obtained from.


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