summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/Epoch.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2023-10-30 14:17:59 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2023-10-30 14:17:59 -0400
commit39ae3e0441d8297a09197aba98bd494b5ada12c1 (patch)
tree3bd5c8053ef17188ece2f1839d443df98875939f /include/framework/scheduling/Epoch.h
parent3afacb7702e6d8fa67749a2a41dc776d315e02a9 (diff)
downloaddynamic-extension-39ae3e0441d8297a09197aba98bd494b5ada12c1.tar.gz
Concurrency updates + fixes for compile errors
Diffstat (limited to 'include/framework/scheduling/Epoch.h')
-rw-r--r--include/framework/scheduling/Epoch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/framework/scheduling/Epoch.h b/include/framework/scheduling/Epoch.h
index a1f865c..fe63c86 100644
--- a/include/framework/scheduling/Epoch.h
+++ b/include/framework/scheduling/Epoch.h
@@ -41,7 +41,7 @@ public:
assert(m_active_jobs.load() == 0);
for (auto buf : m_buffers) {
- buf.release_reference();
+ buf->release_reference();
}
if (m_structure) {
@@ -111,6 +111,8 @@ public:
if (m_structure) {
epoch->m_structure = m_structure->copy();
}
+
+ return epoch;
}
private: