signal_handler: use std::atomic for running var

master
Andre Puschmann 4 years ago
parent ff5fe5df14
commit b5b2f8190e

@ -31,7 +31,7 @@ extern "C" {
// static vars required by signal handling
static srslog::sink* log_sink = nullptr;
static bool running = true;
static std::atomic<bool> running = {true};
static void srsran_signal_handler(int signal)
{

Loading…
Cancel
Save