+/*\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