X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8e67b024cf0592ddef06e37870b36d4a4dfe058b..ffb152ddb9e70873da098de4577e64a2595f4697:/src/bindings/java/org/simgrid/msg/Mutex.java diff --git a/src/bindings/java/org/simgrid/msg/Mutex.java b/src/bindings/java/org/simgrid/msg/Mutex.java index cb16ffb03f..fbcb6340a2 100644 --- a/src/bindings/java/org/simgrid/msg/Mutex.java +++ b/src/bindings/java/org/simgrid/msg/Mutex.java @@ -1,11 +1,9 @@ -/* - * Copyright 2012 The SimGrid team. All right reserved. - * - * This program is free software; you can redistribute - * it and/or modify it under the terms of the license - * (GNU LGPL) which comes with this package. - * - */ +/* Copyright (c) 2012-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + package org.simgrid.msg; /** A mutex implemented on top of SimGrid synchronization mechanisms. * You can use it exactly the same way that you use the mutexes, @@ -14,7 +12,7 @@ package org.simgrid.msg; */ public class Mutex { private long bind; // The C object -- don't touch it - + public Mutex() { init(); } @@ -25,7 +23,7 @@ public class Mutex { private native void init(); public native void acquire(); public native void release(); - + /** * Class initializer, to initialize various JNI stuff */