Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
steal_backoff_strategy.h File Reference

Backoff strategies for work-stealing operations. More...

#include <algorithm>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <random>
Include dependency graph for steal_backoff_strategy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::steal_backoff_config
 Configuration for backoff behavior. More...
 
class  kcenon::thread::backoff_calculator
 Calculates backoff delays for work-stealing operations. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 

Enumerations

enum class  kcenon::thread::steal_backoff_strategy : std::uint8_t { kcenon::thread::fixed , kcenon::thread::linear , kcenon::thread::exponential , kcenon::thread::adaptive_jitter }
 Backoff strategies for work-stealing operations. More...
 

Functions

constexpr const char * kcenon::thread::to_string (steal_backoff_strategy strategy)
 Convert steal_backoff_strategy to string representation.
 

Detailed Description

Backoff strategies for work-stealing operations.

See also
numa_work_stealer

Definition in file steal_backoff_strategy.h.