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
no size for message queue, and no 0-timeout either!
[simgrid.git]
/
examples
/
cpp
/
mess-wait
/
s4u-mess-wait.cpp
diff --git
a/examples/cpp/mess-wait/s4u-mess-wait.cpp
b/examples/cpp/mess-wait/s4u-mess-wait.cpp
index
0e20a61
..
086dc47
100644
(file)
--- a/
examples/cpp/mess-wait/s4u-mess-wait.cpp
+++ b/
examples/cpp/mess-wait/s4u-mess-wait.cpp
@@
-39,7
+39,7
@@
static void sender(int messages_count)
/* Send message to let the receiver know that it should stop */
XBT_INFO("Send 'finalize' to 'receiver'");
/* Send message to let the receiver know that it should stop */
XBT_INFO("Send 'finalize' to 'receiver'");
- mqueue->put(new std::string("finalize")
, 0
);
+ mqueue->put(new std::string("finalize"));
}
/* Receiver actor expects 1 argument: its ID */
}
/* Receiver actor expects 1 argument: its ID */