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
track down remaining XML glitches
[simgrid.git]
/
examples
/
msg
/
mc
/
centralized_mutex.c
diff --git
a/examples/msg/mc/centralized_mutex.c
b/examples/msg/mc/centralized_mutex.c
index
64a4461
..
c3105fc
100644
(file)
--- a/
examples/msg/mc/centralized_mutex.c
+++ b/
examples/msg/mc/centralized_mutex.c
@@
-30,8
+30,8
@@
static int coordinator(int argc, char *argv[])
if (CS_used) { // need to push the request in the vector
XBT_INFO("CS already used. Queue the request");
xbt_dynar_push(requests, &req);
if (CS_used) { // need to push the request in the vector
XBT_INFO("CS already used. Queue the request");
xbt_dynar_push(requests, &req);
- } else { // can serve it immediatly
- XBT_INFO("CS idle. Grant immediatly");
+ } else { // can serve it immediat
e
ly
+ XBT_INFO("CS idle. Grant immediat
e
ly");
msg_task_t answer = MSG_task_create("grant", 0, 1000, NULL);
MSG_task_send(answer, req);
CS_used = 1;
msg_task_t answer = MSG_task_create("grant", 0, 1000, NULL);
MSG_task_send(answer, req);
CS_used = 1;