userver
C++ Async Framework
Toggle main menu visibility
Documentation
API Groups
Namespaces
Reference
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
y
Variables
k
n
r
u
w
Typedefs
c
d
h
m
n
o
p
s
t
u
v
Enumerations
a
b
c
d
f
h
i
l
o
p
r
s
t
u
v
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Related Symbols
File List
File Members
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
task_processor_fwd.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
#
include
<
functional
>
4
5
/// @file userver/engine/task/task_processor_fwd.hpp
6
/// @brief @copybrief engine::TaskProcessor
7
8
USERVER_NAMESPACE_BEGIN
9
10
/// Asynchronous engine primitives
11
namespace
engine {
12
13
/// @brief Manages tasks execution on OS threads.
14
///
15
/// To create a task processor add its configuration to the "task_processors"
16
/// section of the components::ManagerControllerComponent static configuration.
17
class
TaskProcessor;
18
19
/// @brief Register a function that runs on all threads on task processor
20
/// creation. Used for pre-initializing thread_local variables with heavy
21
/// constructors (constructor that does blocking system calls, file access,
22
/// ...):
23
///
24
/// @note It is a low-level function. You might not want to use it.
25
void
RegisterThreadStartedHook
(std::function<
void
()>);
26
27
}
// namespace engine
28
29
USERVER_NAMESPACE_END
userver
engine
task
task_processor_fwd.hpp
Generated on Wed May 15 2024 22:19:43 for userver by
Doxygen
1.10.0