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

Private GIT Repository
Do load_balance_loop in the new spawned thread instead of compute_loop.
[loba.git] / process.h
index dbf9b05a34c53cee4e2f95c96f4ce72c0a49e781..ceca948a39433738d050b20f0864238d5203abf3 100644 (file)
--- a/process.h
+++ b/process.h
@@ -98,10 +98,10 @@ private:
     double expected_load;       // expected load in bookkeeping mode
 
     // Load-balancing loop
+    msg_thread* lb_thread;
     void load_balance_loop();
 
     // Simulate computation loop
-    msg_thread* compute_thread;
     void compute_loop();
 
     bool still_running();