Kaspersky Neuromorphic Platform  1.0.0
API Reference
Loading...
Searching...
No Matches
thread_pool.h File Reference

Reusable thread pool class, a modified example from asio documentation that aggregates context and executor. More...

#include <memory>
#include "thread_pool_context.h"
#include "thread_pool_executor.h"
+ Include dependency graph for thread_pool.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  knp::backends::cpu_executors::ThreadPool
 The ThreadPool class is a definition of thread pool. More...
 

Namespaces

namespace  knp
 General framework namespace.
 
namespace  knp::backends
 Namespace for implementation of concrete backends.
 
namespace  knp::backends::cpu_executors
 Namespace for CPU backend executors.
 

Detailed Description

Reusable thread pool class, a modified example from asio documentation that aggregates context and executor.

Developers: Vartenkov A.
Date
27.07.2023
License: Apache 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file thread_pool.h.