plasmodic / ecto

ecto is a dynamically configurable Directed Acyclic processing Graph (DAG) framework.
http://ecto.willowgarage.com/
BSD 3-Clause "New" or "Revised" License
97 stars 37 forks source link

making the sigint handler optional #206

Open clemense opened 11 years ago

clemense commented 11 years ago

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 commented 11 years ago

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

clemense commented 11 years ago

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