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

Structure used to hold signal state data. More...

Data Fields

pthread_mutex_t mutex
 Mutex to protect a signal.
 
pthread_cond_t condition
 Condition variable for threads to wait.
 
volatile uint32_t signal_count
 Low bit is the current signal state. Upper bits are the current signal number we are at. This is used to guarantee that every thread goes through once, even if the signal has been reset.
 
int num_other_sigs
 Keeps track of who else needs to be signaled.
 
struct SignalInfoother_sigs_ptr_array [MAX_THREADS_WAITING]
 Other signals to wake up when this is signaled.
 

Detailed Description

Structure used to hold signal state data.

Field Documentation

◆ num_other_sigs

int SignalInfo::num_other_sigs

Keeps track of who else needs to be signaled.

Number of entries.


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