CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
This defines a structure that contains the state information for a single instance of a poll thread. More...
#include <adapter_api.h>
Data Fields | |
CdiListEntry | list_entry |
Allow these structures to live in a list in the Adapter. | |
CdiThreadID | thread_id |
thread ID used by both Tx/Rx endpoints. | |
int | shared_thread_id |
User defined shared poll thread identifier. | |
int | thread_core_num |
The core to dedicate to this hardware poll thread. The value is the 0-based CPU number or -1 to disable pinning the thread to a specific core. | |
EndpointDataType | data_type |
The type of endpoint data this poll thread supports. | |
bool | is_poll |
True if connection requires polling, otherwise connection does not require polling. NOTE: Connections that share the same poll thread must either be all polling or non-polling (cannot have a mix of both types). | |
bool | only_transmit |
True if all endpoints using this poll thread only transmit. | |
CdiSignalType | connection_list_changed_signal |
Signal set when connection_list has been changed. | |
CdiSignalType | connection_list_processed_signal |
Signal set when connection_list has been processed. | |
CdiCsID | connection_list_lock |
Lock used to protect access to connection_list. | |
CdiList | connection_list |
List of connections (AdapterConnectionState*) used by this poll thread. | |
CdiSignalType | start_signal |
Signal used to start poll thread. A separate signal is used for endpoints (see AdapterEndpointState.start_signal). | |
This defines a structure that contains the state information for a single instance of a poll thread.