23 uint32_t thread_count = 0;
24 uint32_t queue_size = 0;
25 CfgMultiThreading::extract(value, enabled, thread_count, queue_size);
26 MultiThreadingMgr::instance().apply(enabled, thread_count, queue_size);
31 uint32_t& thread_count, uint32_t& queue_size) {
36 if (value->get(
"enable-multi-threading")) {
40 if (value->get(
"thread-pool-size")) {
44 if (value->get(
"packet-queue-size")) {
static bool getBoolean(isc::data::ConstElementPtr scope, const std::string &name)
Returns a boolean parameter from a scope.
static int64_t getInteger(isc::data::ConstElementPtr scope, const std::string &name)
Returns an integer parameter from a scope.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.