oss_src/cppipc/client/console_cancel_handler_unix.cpp
void cancel_handler(int param) {
  console_cancel_handler::get_instance().set_cancel_flag(true);
  auto &c = get_cancelled_command();
  auto &r = get_running_command();
  c.store(r.load());
}
// Set the interrupted flag and take the currently running command as 
// the one we want to cancel
Set the interrupted flag and take the currently running command as
the one we want to cancel
Set the interrupted flag and take the currently running command as the one we want to cancel
void cancel_handler(int param) {
  console_cancel_handler::get_instance().set_cancel_flag(true);
  auto &c = get_cancelled_command();
  auto &r = get_running_command();
  c.store(r.load());
}
void cancel_handler ( int param ) { console_cancel_handler :: get_instance ( ) . set_cancel_flag ( true ) ; auto & c = get_cancelled_command ( ) ; auto & r = get_running_command ( ) ; c . store ( r . load ( ) ) ; }
Set the interrupted flag and take the currently running command as
the one we want to cancel
Set the interrupted flag and take the currently running command as the one we want to cancel