|
Ripples 1.0
High Performant Software Architecture For Transaction Processing
|
#include <resource.h>

Data Fields | |
| config_t * | cfg |
| channel_bss_t * | resource_channels |
| channel_log_t * | app_log_channel |
| metrics_t * | metrics |
Structure holds arguments passed to resource_loop function. Since resource_loop function is started by pthread it can only receive one argument hence placing all arguments into one structure.
| channel_log_t* resource_loop_args_s::app_log_channel |
Application log channel.
| config_t* resource_loop_args_s::cfg |
Configuration settings to use.
| metrics_t* resource_loop_args_s::metrics |
Pointer to metrics object where to report metrics.
| channel_bss_t* resource_loop_args_s::resource_channels |
Resource channels used to communicate with Vectorloop threads.