summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/SerialScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework/scheduling/SerialScheduler.h')
-rw-r--r--include/framework/scheduling/SerialScheduler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/framework/scheduling/SerialScheduler.h b/include/framework/scheduling/SerialScheduler.h
index 5d6e5c2..da2bb8e 100644
--- a/include/framework/scheduling/SerialScheduler.h
+++ b/include/framework/scheduling/SerialScheduler.h
@@ -51,6 +51,7 @@ public:
void schedule_job(std::function<void(void*)> job, size_t size, void *args) {
size_t ts = m_counter.fetch_add(1);
m_task_queue.push(Task(size, ts, job, args));
+ m_cv.notify_all();
}
void shutdown() {