A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add isend in Task
[simgrid.git]
/
org
/
simgrid
/
msg
/
Process.java
diff --git
a/org/simgrid/msg/Process.java
b/org/simgrid/msg/Process.java
index
d5e10d6
..
2aceb10
100644
(file)
--- a/
org/simgrid/msg/Process.java
+++ b/
org/simgrid/msg/Process.java
@@
-100,13
+100,9
@@
public abstract class Process extends Thread {
public Vector<String> args;
/* process synchronization tools */
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;
/**
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;
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);
}
}
@@
-189,7
+185,7
@@
public abstract class Process extends Thread {
try {
MsgNative.processCreate(this, host.getName());
} catch (HostNotFoundException e) {
try {
MsgNative.processCreate(this, host.getName());
} catch (HostNotFoundException e) {
- throw new RuntimeException("The impossible happend (yet again): the host that I have were not found",e);
+ throw new RuntimeException("The impossible happen
e
d (yet again): the host that I have were not found",e);
}
}
}
}