forked from weaselab/weaseldb
Use WaitIfUpstreamIdle
This commit is contained in:
1 parent
917066d8c0
commit
345d8e21b2
1 file changed
+1
-1
@@ -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_;
|
||||||
|
|||||||
Reference in new issue
Block a user