From: mquinson Date: Mon, 6 Aug 2007 18:30:27 +0000 (+0000) Subject: a bit more debugs X-Git-Tag: v3.3~1359 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a2b090ca3f05b6cf0dd7f095c27791f93f1c1555 a bit more debugs git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4001 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Msg/gras_msg_exchange.c b/src/gras/Msg/gras_msg_exchange.c index b47dae8e4f..89b7cbf61d 100644 --- a/src/gras/Msg/gras_msg_exchange.c +++ b/src/gras/Msg/gras_msg_exchange.c @@ -12,7 +12,6 @@ #include "xbt/ex_interface.h" #include "gras/Msg/msg_private.h" #include "gras/Virtu/virtu_interface.h" -#include "gras/Transport/transport_interface.h" /* gras_select */ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(gras_msg); @@ -335,11 +334,12 @@ gras_msg_handle(double timeOut) { xbt_dynar_shift(pd->msg_queue,&msg); } else { TRY { - xbt_queue_shift_timed(pd->msg_received,&msg,timeOut); + xbt_queue_shift_timed(pd->msg_received,&msg,timeOut); // msg.expe = gras_trp_select(timeOut); } CATCH(e) { if (e.category != timeout_error) RETHROW; + DEBUG0("Damn. Timeout while getting a message from the queue"); xbt_ex_free(e); timeouted = 1; }