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

making the sigint handler optional #206

Open
clemense opened this issue Oct 31, 2012 · 2 comments
Open

making the sigint handler optional #206

clemense opened this issue Oct 31, 2012 · 2 comments

Comments

@clemense
Copy link

To install my own sigint handler, I currently have to call signal() after creating the scheduler (thus overwriting the one installed by the scheduler), which is kind of tricky.
An option similar to ros::init_options::NoSigintHandler would be helpful.

@vrabaud
Copy link
Member

vrabaud commented Nov 9, 2012

seems like a good feature. What API would you like to see there ?

@clemense
Copy link
Author

i would vote for adding an argument to the constructor: scheduler::scheduler(plasm_ptr p, bool sigint_handler)
maybe with a default value "true".

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

2 participants