X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a70dde587bf05977d0f9e1d854e98f192a79426..d147d81692db8ae78418b4df9b781e1a8851def1:/org/simgrid/msg/Mutex.java diff --git a/org/simgrid/msg/Mutex.java b/org/simgrid/msg/Mutex.java index 093055267d..7032b6e3ad 100644 --- a/org/simgrid/msg/Mutex.java +++ b/org/simgrid/msg/Mutex.java @@ -15,14 +15,14 @@ package org.simgrid.msg; public class Mutex { private long bind; // The C object -- don't touch it - public Mutex(int capa) { - init(capa); + public Mutex() { + init(); } protected void finalize() { exit(); } private native void exit(); - private native void init(int capacity); + private native void init(); public native void acquire(); public native void release();