From 345d8e21b283a9f92ba753222082cd47c9e0538e Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 15 Sep 2025 20:48:12 -0400 Subject: [PATCH] Use WaitIfUpstreamIdle --- src/commit_pipeline.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commit_pipeline.hpp b/src/commit_pipeline.hpp index 8c4dce5..fd50ed5 100644 --- a/src/commit_pipeline.hpp +++ b/src/commit_pipeline.hpp @@ -93,7 +93,7 @@ private: // Lock-free pipeline configuration 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 StaticThreadPipeline pipeline_;