dnp3  0.9.0
Public Attributes | List of all members
dnp3_runtime_config_t Struct Reference

Runtime configuration. More...

#include <dnp3.h>

Public Attributes

uint16_t num_core_threads
 Number of runtime threads to spawn. For a guess of the number of CPU cores, use 0. More...
 

Detailed Description

Runtime configuration.

Member Data Documentation

◆ num_core_threads

uint16_t dnp3_runtime_config_t::num_core_threads

Number of runtime threads to spawn. For a guess of the number of CPU cores, use 0.

Even if tons of connections are expected, it is preferred to use a value around the number of CPU cores for better performances. The library uses an efficient thread pool polling mechanism.

Note
Default value is 0

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