CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
TimeoutInstanceState Struct Reference

This structure contains all of the state information for the timer instance. This includes signals, thread ID's, and pointers to the memory pool and timer list. More...

#include <timeout.h>

Data Fields

CdiThreadID main_thread_id
 Thread ID for the main timeout management thread.
 
CdiThreadID cb_thread_id
 Thread ID for the thread that executes the callback functions.
 
CdiFifoHandle cb_fifo_handle
 handle for the FIFO that main thread puts callbacks into for callback thread to execute
 
CdiSignalType go_signal
 go_signal indicates that there is at least one active timer entry
 
CdiSignalType shutdown_signal
 shutdown timer instance signaled from CdiTimeoutDestroy
 
CdiSignalType stop_signal
 stop_signal indicates someone has removed active timeout or added a timeout with a closer deadline
 
CdiList timeout_list
 list of active timeout objects
 
CdiPoolHandle mem_pool_handle
 Pool of available TimeoutDataState objects.
 
CdiCsID critical_section
 Critical section to indicate that timeout_list is being modified.
 
CdiLogHandle log_handle
 Handle of log to use for this timeout's main thread.
 

Detailed Description

This structure contains all of the state information for the timer instance. This includes signals, thread ID's, and pointers to the memory pool and timer list.


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