cb_pages_reservable_at_back
-
bool cb_pages_reservable_at_back(int32_t operand, int32_t num_pages)
-
A non-blocking call that checks if the specified number of pages are available for reservation at the back of the circular buffer. This call is used by the producer to see if the consumer has freed up the desired space (in pages).
CB total size must be an even multiple of the argument passed to this call.
Return value: true if the specified number of pages are available
Argument
Description
Type
Valid Range
Required
cb_id
The index of the circular buffer (CB)
uint32_t
0 to 31
True