Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a boolean field "finished" in Comm to prevent exceptions in Simix to happen
[simgrid.git] / org / simgrid / msg / Comm.java
index d3d9799..423371d 100644 (file)
@@ -15,7 +15,11 @@ public class Comm {
        /**
         * Indicates if the communication is a receiving communication
         */
-       boolean receiving;
+       protected boolean receiving;
+       /**
+        * Indicates if the communication is finished
+        */
+       protected boolean finished = false;
        /**
         * Represents the bind between the java comm and the
         * native C comm. You must never access it, since it is