]> AND Private Git Repository - loba.git/blobdiff - options.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Cosmetics: declare condition_t as friend of mutex_t.
[loba.git] / options.cpp
index 3e0f92d764a29cc695522d5a3dd770e99481a6c8..3eed8a259731798ba790f1c59eafad44798b01fc 100644 (file)
@@ -39,7 +39,7 @@ namespace opt {
 
     // Simulation parameters
     int log_rate = 1;
-    bool exit_request = false;
+    volatile std::sig_atomic_t exit_request = 0;
 
     // Platform and deployment
     std::string platform_file;