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
cosmetics
[simgrid.git]
/
src
/
gras
/
Msg
/
msg.c
diff --git
a/src/gras/Msg/msg.c
b/src/gras/Msg/msg.c
index
e8f1773
..
3d1293a
100644
(file)
--- a/
src/gras/Msg/msg.c
+++ b/
src/gras/Msg/msg.c
@@
-365,7
+365,7
@@
static int gras_msg_wait_or_filter(gras_msg_t msg, void *ctx) {
xbt_dynar_t dyn=(xbt_dynar_t)ctx;
int res = xbt_dynar_member(dyn,msg->type);
if (res)
xbt_dynar_t dyn=(xbt_dynar_t)ctx;
int res = xbt_dynar_member(dyn,msg->type);
if (res)
- VERB
0("Got matching message"
);
+ VERB
1("Got matching message (type=%s)",msg->type->name
);
else
VERB0("Got message not matching our expectations");
return res;
else
VERB0("Got message not matching our expectations");
return res;
@@
-392,7
+392,7
@@
void gras_msg_wait_or(double timeout,
void *payload) {
s_gras_msg_t msg;
void *payload) {
s_gras_msg_t msg;
-
INFO
1("Wait %f seconds for several message types",timeout);
+
VERB
1("Wait %f seconds for several message types",timeout);
gras_msg_wait_ext(timeout,
NULL, NULL,
&gras_msg_wait_or_filter, (void*)msgt_want,
gras_msg_wait_ext(timeout,
NULL, NULL,
&gras_msg_wait_or_filter, (void*)msgt_want,