|
CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
A structure of this type is passed as the parameter to CdiQueueCallback(). It contains the state of a single queue read or write operation. More...
#include <cdi_queue_api.h>
Data Fields | |
| bool | is_pop |
| True if read triggered the callback, otherwise a write triggered it. | |
| CdiSinglyLinkedListEntry * | read_ptr |
| Current read pointer in the queue. | |
| CdiSinglyLinkedListEntry * | write_ptr |
| Current write pointer in the queue. | |
| void * | item_data_ptr |
| Pointer to item data. | |
| int | occupancy |
| The number of entries currently enqueued. | |
A structure of this type is passed as the parameter to CdiQueueCallback(). It contains the state of a single queue read or write operation.