65 return "locality_aware";
67 return "hierarchical";
@ adaptive
Automatically adjust based on load conditions.
Core threading foundation of the thread system library.
@ round_robin
Sequential victim selection (deterministic, fair)
@ random
Random victim selection (default, good load distribution)
constexpr std::string_view to_string(log_level_v2 level) noexcept
Convert log_level_v2 to string representation.
enhanced_steal_policy
Enhanced policies for selecting work-stealing victims.
@ hierarchical
NUMA node first, then random within node (large NUMA systems)
@ round_robin
Sequential victim selection (deterministic, fair)
@ locality_aware
Prefer workers with recent cooperation history (cache affinity)
@ random
Random victim selection (baseline, good distribution)
@ adaptive
Select based on queue sizes (best for uneven loads)
@ numa_aware
Prefer workers on the same NUMA node (reduces cross-node traffic)