set prio_memory_strategy!!!

This commit is contained in:
Kurt Wilson 2025-03-24 23:47:51 -04:00
parent 2cd2ae7b07
commit a2741afc9a
No known key found for this signature in database

View file

@ -65,6 +65,9 @@ int main(int argc, char **argv)
options.memory_strategy = strategy;
auto executor = new timed_executor::TimedExecutor(options);
// must be set to post_execute can set new deadlines
executor->prio_memory_strategy_ = strategy;
// the new funcitons in PriorityMemoryStrategy accept the handle of the
// timer/subscription as the first argument