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

Context for reusable thread pool class, a modified example from asio documentation. More...

#include <condition_variable>
#include <memory>
#include <mutex>
#include <queue>
#include <thread>
#include <utility>
#include <boost/asio/thread_pool.hpp>
#include <boost/asio/ts/executor.hpp>
+ Include dependency graph for thread_pool_context.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::ThreadPoolContext
 The ThreadPoolContext class is a service class used for creating pool executors. 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

Context for reusable thread pool class, a modified example from asio documentation.

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_context.h.