9#include <cosmos/utils.hxx>
18using RestartOnIntr = NamedBool<struct restart_on_intr_t, true>;
20extern RestartOnIntr auto_restart_syscalls;
29using RunningOnValgrind = NamedBool<struct running_on_valgrind_t, false>;
31extern RunningOnValgrind running_on_valgrind;
50[[ noreturn ]]
void fatal_error(
51 const std::string_view msg,
52 const std::exception *ex =
nullptr);
68void noncritical_error(
69 const std::string_view msg,
70 const std::exception &ex);