xbt_dynar_t dyn=(xbt_dynar_t)ctx;
int res = xbt_dynar_member(dyn,msg->type);
if (res)
- VERB0("Got matching message");
+ VERB1("Got matching message (type=%s)",msg->type->name);
else
VERB0("Got message not matching our expectations");
return res;
void *payload) {
s_gras_msg_t msg;
- INFO1("Wait %f seconds for several message types",timeout);
+ VERB1("Wait %f seconds for several message types",timeout);
gras_msg_wait_ext(timeout,
NULL, NULL,
&gras_msg_wait_or_filter, (void*)msgt_want,
TRY {
xbt_dynar_foreach(list->cbs,cpt,cb) {
if (!ran_ok) {
- VERB3("Use the callback #%d (@%p) for incomming msg %s",
- cpt+1,cb,msg.type->name);
+ DEBUG4("Use the callback #%d (@%p) for incomming msg %s (payload_size=%d)",
+ cpt+1,cb,msg.type->name,msg.payl_size);
if ((*cb)(&ctx,msg.payl)) {
/* cb handled the message */
free(msg.payl);