summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/SerialScheduler.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2023-11-06 10:01:23 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2023-11-06 10:20:03 -0500
commit4e4cf858122ca6c1ae6d5f635e839089769fee38 (patch)
treeaf2baf54991e8aca6766671c5701fbfd6dffed7d /include/framework/scheduling/SerialScheduler.h
parent83ca486048a5053d8c75bb5041091edb1b183a85 (diff)
downloaddynamic-extension-4e4cf858122ca6c1ae6d5f635e839089769fee38.tar.gz
Scheduling: Switched over to a thread pool model
Diffstat (limited to 'include/framework/scheduling/SerialScheduler.h')
-rw-r--r--include/framework/scheduling/SerialScheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/framework/scheduling/SerialScheduler.h b/include/framework/scheduling/SerialScheduler.h
index 9c767e8..93611d1 100644
--- a/include/framework/scheduling/SerialScheduler.h
+++ b/include/framework/scheduling/SerialScheduler.h
@@ -47,7 +47,7 @@ public:
void schedule_job(std::function<void(void*)> job, size_t size, void *args) {
size_t ts = m_counter++;
auto t = Task(size, ts, job, args);
- t();
+ t(0);
}
void shutdown() {