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

Private GIT Repository
Wip++...
[loba.git] / process.h
index a301046ab8907fadd611a106fc11be0258d33166..3baabbfddad931a25f1fe689faef32b6ca8882e3 100644 (file)
--- a/process.h
+++ b/process.h
@@ -18,8 +18,11 @@ private:
     double load;
     double expected_load;
 
     double load;
     double expected_load;
 
-    void receive();
+    int ctrl_close_pending;
+    int data_close_pending;
+
     void compute();
     void compute();
+    bool receive(bool wait_for_close);
     void finalize();
     void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
 };
     void finalize();
     void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
 };