From: Martin Quinson Date: Wed, 2 May 2012 20:19:13 +0000 (+0200) Subject: cosmetics X-Git-Tag: v3_9_90~569^2~19^2~114 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e18b7e480acb53c7434bfabac2299ef32db1c7d9?hp=3b2a6e76eecf6c64156e047053492778421ba437;ds=sidebyside cosmetics --- diff --git a/org/simgrid/msg/Process.java b/org/simgrid/msg/Process.java index d5e10d690b..fb69cd1db8 100644 --- a/org/simgrid/msg/Process.java +++ b/org/simgrid/msg/Process.java @@ -100,13 +100,9 @@ public abstract class Process extends Thread { public Vector 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(); 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); }