#include <atomic>
#include <csignal>
#include <memory>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
namespace | alpaqa |
namespace | alpaqa::detail |
Functions | |
template<class Solver > | |
auto | attach_cancellation (Solver &solver) |
Attach SIGINT and SIGTERM handlers to stop the given solver. | |
Variables | |
std::atomic< void * > | solver_to_stop |