X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c14a21f58a8a76971928aa344168ad18f8dabbb5..a2b090ca3f05b6cf0dd7f095c27791f93f1c1555:/src/gras/Msg/gras_msg_exchange.c 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; }