userver: userver/utils/threads.hpp File Reference
Loading...
Searching...
No Matches
threads.hpp File Reference

Detailed Description

Functions to work with OS threads.

Definition in file threads.hpp.

Go to the source code of this file.

Namespaces

namespace  utils
 Utilities.
 

Functions

bool utils::IsMainThread () noexcept
 
void utils::SetCurrentThreadIdleScheduling ()
 Set priority of the OS thread to IDLE (the lowest one)
 
void utils::SetCurrentThreadLowPriorityScheduling ()
 Set priority of the OS thread to low (but not the lowest one)