userver
C++ Async Framework
Loading...
Searching...
No Matches
task_queue_type.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/engine/task_queue_type.hpp
4
/// @brief @copybrief engine::TaskQueueType
5
6
#
include
<
userver
/
yaml_config
/
fwd
.
hpp
>
7
8
USERVER_NAMESPACE_BEGIN
9
10
namespace
engine
{
11
12
/// @brief Scheduler types
13
enum
class
TaskQueueType
{
14
kGlobalTaskQueue,
/// < Global `moodycamel` queue from which each thread gets tasks
15
kWorkStealingTaskQueue
,
/// < Global+thread-specific queues with interqueues work stealing (experimental queue)
16
kPullPinTaskQueue
,
/// < Global+thread-specific queues. Each task gets pinned to a thread-specific queue and is
17
/// executed only in that thread (experimental queue)
18
kTSanTaskQueue
,
/// < Queue for TSan runs. Each task gets pinned to a thread-specific queue and is executed only in
19
/// that thread (experimental queue). Thread Sanitizer runs are automatically switched to this
20
/// queue
21
};
22
23
TaskQueueType
Parse(
const
yaml_config
::
YamlConfig
& value,
formats
::
parse
::
To
<
TaskQueueType
>);
24
25
}
// namespace engine
26
27
USERVER_NAMESPACE_END
userver
engine
task_queue_type.hpp
Generated on Wed Jan 14 2026 20:01:48 for userver by
Doxygen
1.13.2