Use WaitIfUpstreamIdle
This commit is contained in:
@@ -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<PipelineEntry, wait_strategy, 1, 1, 1, 2> pipeline_;
|
||||
|
||||
Reference in New Issue
Block a user