Use WaitIfUpstreamIdle

This commit is contained in:
2025-09-15 20:48:12 -04:00
parent 917066d8c0
commit 345d8e21b2

View File

@@ -93,7 +93,7 @@ private:
// Lock-free pipeline configuration // Lock-free pipeline configuration
static constexpr int lg_size = 16; // Ring buffer size (2^16 slots) static constexpr int lg_size = 16; // Ring buffer size (2^16 slots)
static constexpr auto wait_strategy = WaitStrategy::WaitIfStageEmpty; static constexpr auto wait_strategy = WaitStrategy::WaitIfUpstreamIdle;
// 4-stage pipeline: sequence -> resolve -> persist -> release // 4-stage pipeline: sequence -> resolve -> persist -> release
StaticThreadPipeline<PipelineEntry, wait_strategy, 1, 1, 1, 2> pipeline_; StaticThreadPipeline<PipelineEntry, wait_strategy, 1, 1, 1, 2> pipeline_;