From d116b94389538aa8e0e7354fae77693b980de4f0 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 24 Feb 2025 11:14:52 -0500 Subject: Query Preemption: still has one or two bugs, but mostly works --- include/framework/scheduling/Version.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include/framework/scheduling/Version.h') diff --git a/include/framework/scheduling/Version.h b/include/framework/scheduling/Version.h index e2acc8f..4cd73ba 100644 --- a/include/framework/scheduling/Version.h +++ b/include/framework/scheduling/Version.h @@ -82,12 +82,7 @@ public: bool advance_buffer_head(size_t new_head) { m_buffer_head = new_head; - - while (!m_buffer->advance_head(new_head)) { - usleep(1); - } - - return true; + return m_buffer->advance_head(new_head); } void update_shard_version(size_t version) { -- cgit v1.2.3