Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
just add the copyright of the file
[simgrid.git] / src / java / simgrid / msg / Sem.java
index 21364a7..0394d57 100644 (file)
@@ -1,6 +1,21 @@
+/*\r
+ * simgrid.msg.Sem.java        1.00 07/05/01\r
+ *\r
+ * Copyright 2006,2007 Martin Quinson, Malek Cherier           \r
+ * All right reserved. \r
+ *\r
+ * This program is free software; you can redistribute \r
+ * it and/or modify it under the terms of the license \r
+ *(GNU LGPL) which comes with this package. \r
+ */\r
\r
 package simgrid.msg;\r
 \r
 public class Sem { \r
+       \r
+       /******************************************************************/\r
+       /* Simple semaphore implementation, from Doug Lea (public domain) */\r
+       /******************************************************************/\r
        private int permits_;\r
        \r
        public Sem(int i) {\r