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
small sonar cleanup
[simgrid.git]
/
examples
/
deprecated
/
java
/
app
/
centralizedmutex
/
Node.java
diff --git
a/examples/deprecated/java/app/centralizedmutex/Node.java
b/examples/deprecated/java/app/centralizedmutex/Node.java
index
209cf2c
..
00f54e4
100644
(file)
--- a/
examples/deprecated/java/app/centralizedmutex/Node.java
+++ b/
examples/deprecated/java/app/centralizedmutex/Node.java
@@
-20,7
+20,7
@@
public class Node extends Process {
Msg.info("Send a request to the coordinator");
req.send("coordinator");
Msg.info("Wait for a grant from the coordinator");
Msg.info("Send a request to the coordinator");
req.send("coordinator");
Msg.info("Wait for a grant from the coordinator");
-
Grant
Task.receive(getName());
+ Task.receive(getName());
Task compute = new Task("CS", csTime, 0);
compute.execute();
ReleaseTask release = new ReleaseTask();
Task compute = new Task("CS", csTime, 0);
compute.execute();
ReleaseTask release = new ReleaseTask();