mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-19 23:53:53 +00:00
Switch to local.conf-based config of multithreading
This commit is contained in:
@ -283,6 +283,14 @@ public:
|
||||
return _lowBandwidthMode;
|
||||
}
|
||||
|
||||
inline bool getMultithreadingEnabled()
|
||||
{
|
||||
return _multithreadingEnabled;
|
||||
}
|
||||
|
||||
void initMultithreading(bool isEnabled, unsigned int concurrency, bool cpuPinningEnabled);
|
||||
|
||||
|
||||
public:
|
||||
RuntimeEnvironment _RR;
|
||||
RuntimeEnvironment *RR;
|
||||
@ -331,6 +339,7 @@ public:
|
||||
volatile int64_t _prngState[2];
|
||||
bool _online;
|
||||
bool _lowBandwidthMode;
|
||||
bool _multithreadingEnabled;
|
||||
};
|
||||
|
||||
} // namespace ZeroTier
|
||||
|
Reference in New Issue
Block a user