Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 2 May 2012 20:19:13 +0000 (22:19 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 2 May 2012 20:19:13 +0000 (22:19 +0200)
org/simgrid/msg/Process.java

index d5e10d6..fb69cd1 100644 (file)
@@ -100,13 +100,9 @@ public abstract class Process extends Thread {
        public Vector<String> args;
 
        /* process synchronization tools */
-    /**
-     *
-     */
-    /**
-     *
-     */
-    protected Semaphore schedBegin, schedEnd;
+       
+       /* give the full path to semaphore to ensure that our own implementation don't get selected */
+    protected java.util.concurrent.Semaphore schedBegin, schedEnd;
     private boolean nativeStop = false;
 
        /**
@@ -119,8 +115,8 @@ public abstract class Process extends Thread {
                this.bind = 0;
                this.args = new Vector<String>();
                this.properties = null;
-               schedBegin = new Semaphore(0);
-               schedEnd = new Semaphore(0);
+               schedBegin = new java.util.concurrent.Semaphore(0);
+               schedEnd = new java.util.concurrent.Semaphore(0);
        }