diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-12 13:09:10 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-12 13:09:53 -0500 |
| commit | e4644fec1acc429a540f358b4e7e15af75aa71a9 (patch) | |
| tree | 53385c5cc5213acb296394fc5dee76551e3c8376 /include/util/types.h | |
| parent | 6d7067b4cef51e92d8cb54bb502d6133269728a9 (diff) | |
| download | dynamic-extension-e4644fec1acc429a540f358b4e7e15af75aa71a9.tar.gz | |
ExtensionStructure: first basic test of lookahead task stealing
Diffstat (limited to 'include/util/types.h')
| -rw-r--r-- | include/util/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/util/types.h b/include/util/types.h index e22fd18..bac0246 100644 --- a/include/util/types.h +++ b/include/util/types.h @@ -95,6 +95,10 @@ public: total_reccnt += reccnt; } + void add_reconstruction(ReconstructionTask task) { + m_tasks.push_back(task); + } + ReconstructionTask remove_reconstruction(size_t idx) { assert(idx < m_tasks.size()); auto task = m_tasks[idx]; |