summaryrefslogtreecommitdiffstats
path: root/include/framework/DynamicExtension.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework/DynamicExtension.h')
-rw-r--r--include/framework/DynamicExtension.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/framework/DynamicExtension.h b/include/framework/DynamicExtension.h
index a1f7c2b..3a4a7e1 100644
--- a/include/framework/DynamicExtension.h
+++ b/include/framework/DynamicExtension.h
@@ -26,6 +26,7 @@
#include "framework/util/Configuration.h"
#include "framework/scheduling/FIFOScheduler.h"
+#include "framework/scheduling/SerialScheduler.h"
#include "framework/scheduling/Epoch.h"
#include "psu-util/timer.h"
@@ -82,6 +83,7 @@ public:
// FIXME: delete tagging will require a lot of extra work to get
// operating "correctly" in a concurrent environment.
if constexpr (D == DeletePolicy::TAGGING) {
+ static_assert(std::same_as<SCHED, SerialScheduler>, "Tagging is only supported in single-threaded operation");
BufView buffers = get_active_epoch()->get_buffer_view();
if (get_active_epoch()->get_structure()->tagged_delete(rec)) {