X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ac075836ffc4142d5e4353c046b1cef6092341a2..c5151a86dde4a71352f55b9209bb3edc8b824aeb:/src/msg/gos.c diff --git a/src/msg/gos.c b/src/msg/gos.c index 024a4a16ed..fd74bc8fec 100644 --- a/src/msg/gos.c +++ b/src/msg/gos.c @@ -8,7 +8,7 @@ #include "private.h" #include "xbt/sysdep.h" #include "xbt/log.h" -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gos, msg, +XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_gos, msg, "Logging specific to MSG (gos)"); /** \defgroup msg_gos_functions MSG Operating System Functions @@ -65,10 +65,11 @@ static MSG_error_t __MSG_task_get_with_time_out_from_host(m_task_t * task, MSG_RETURN(MSG_OK); } } - xbt_assert2(!(h_simdata->sleeping[channel]), - "A process (%s(%d)) is already blocked on this channel", + xbt_assert3(!(h_simdata->sleeping[channel]), + "A process (%s(%d)) is already blocked on channel %d", h_simdata->sleeping[channel]->name, - h_simdata->sleeping[channel]->simdata->PID); + h_simdata->sleeping[channel]->simdata->PID, + channel); h_simdata->sleeping[channel] = process; /* I'm waiting. Wake me up when you're ready */ if(max_duration>0) { __MSG_process_block(max_duration);