userver: userver/engine/task/task_processor_fwd.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
task_processor_fwd.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Manages tasks execution on OS threads.

Definition in file task_processor_fwd.hpp.

Go to the source code of this file.

#include <functional>
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  engine
 Asynchronous engine primitives.
 

Functions

void engine::RegisterThreadStartedHook (std::function< void()>)
 Register a function that runs on all threads on task processor creation. Used for pre-initializing thread_local variables with heavy constructors (constructor that does blocking system calls, file access, ...):