summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/Version.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-02-24 11:14:52 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-02-24 11:14:52 -0500
commitd116b94389538aa8e0e7354fae77693b980de4f0 (patch)
tree918e29a6734c726f398f2d06894fdb42d9752fa9 /include/framework/scheduling/Version.h
parent40fe2e7ea56d49a065a4a53b7f8a4a918a5d78b0 (diff)
downloaddynamic-extension-d116b94389538aa8e0e7354fae77693b980de4f0.tar.gz
Query Preemption: still has one or two bugs, but mostly works
Diffstat (limited to 'include/framework/scheduling/Version.h')
-rw-r--r--include/framework/scheduling/Version.h7
1 files changed, 1 insertions, 6 deletions
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) {