set prio_memory_strategy!!!
This commit is contained in:
parent
2cd2ae7b07
commit
a2741afc9a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue