Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix bug in java binding for Comm.waitAny
[simgrid.git] / src / bindings / java / org / simgrid / msg / Comm.java
index 99b889d2efaf396199832bfb7cce17ff241a4987..12e6a11ed3b83ea9434187933a35e005c0df67a6 100644 (file)
@@ -59,7 +59,7 @@ public class Comm {
                waitAll(comms, -1.);
        }
        /** Wait any of the communications, and return the rank of the terminating comm */
-       public static native void waitAny(Comm[] comms) throws TransferFailureException, HostFailureException, TimeoutException;
+       public static native int waitAny(Comm[] comms) throws TransferFailureException, HostFailureException, TimeoutException;
        /**
         * Returns the task associated with the communication.
         * if the communication isn't finished yet, will return null.