Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potentially disabled callbacks #1

Open
sayali-purdue opened this issue Jul 26, 2024 · 0 comments
Open

Potentially disabled callbacks #1

sayali-purdue opened this issue Jul 26, 2024 · 0 comments

Comments

@sayali-purdue
Copy link

sayali-purdue commented Jul 26, 2024

In file minimal_atomic_message.cpp, the reentrant callback group is declared locally (in the scope of the constructor function) at line 37. The group will go out of scope when the callback function has finished execution. Therefore, timer callbacks that are assigned to this callback group will be disabled and will not execute on spin.

The callback group should be a class member variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant