Runtime configuration
More...
|
ushort | NumCoreThreads |
| Number of runtime threads to spawn. For a guess of the number of CPU cores, use 0. More...
|
|
◆ RuntimeConfig()
dnp3.RuntimeConfig.RuntimeConfig |
( |
| ) |
|
|
inline |
Initialize the configuration to default values
Default values:
◆ WithNumCoreThreads()
RuntimeConfig dnp3.RuntimeConfig.WithNumCoreThreads |
( |
ushort |
value | ) |
|
|
inline |
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.
◆ NumCoreThreads
ushort dnp3.RuntimeConfig.NumCoreThreads |
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.
The documentation for this class was generated from the following file: