|
📨 chic 0.0.0
Realtime-safe channels in C
|
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. | |
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.