From e18b7e480acb53c7434bfabac2299ef32db1c7d9 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 2 May 2012 22:19:13 +0200 Subject: [PATCH 1/1] cosmetics --- org/simgrid/msg/Process.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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); } -- 2.20.1