userver: userver/engine/task/task_processor_fwd.hpp Source File
Loading...
Searching...
No Matches
task_processor_fwd.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <functional>
5
8
9USERVER_NAMESPACE_BEGIN
10
12namespace engine {
13
19class TaskProcessor;
20
22std::size_t GetQueueSize(const TaskProcessor& task_processor) noexcept;
23
30std::size_t GetWorkerCount(const TaskProcessor& task_processor) noexcept;
31
38void RegisterThreadStartedHook(std::function<void()>);
39
40} // namespace engine
41
42USERVER_NAMESPACE_END