#include <sigint.h>
Definition at line 21 of file sigint.h.
◆ SigintHandler()
operations_research::SigintHandler::SigintHandler |
( |
| ) |
|
|
inline |
◆ ~SigintHandler()
operations_research::SigintHandler::~SigintHandler |
( |
| ) |
|
Unregister the SIGINT handler.
Definition at line 43 of file sigint.cc.
◆ Register()
void operations_research::SigintHandler::Register |
( |
const std::function< void()> & | f | ) |
|
Catches ^C and call f() the first time this happen. If ^C is pressed 3 times, kill the program.
Definition at line 23 of file sigint.cc.
The documentation for this class was generated from the following files: