X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8e8f8b64b899284cbd166542ba352cd0c44059e8..05795e9e931acf0febcb1474a4b75a719616abc7:/src/msg/msg_gos.c diff --git a/src/msg/msg_gos.c b/src/msg/msg_gos.c index aeb6ad343b..3bdc8d85a0 100644 --- a/src/msg/msg_gos.c +++ b/src/msg/msg_gos.c @@ -1,4 +1,5 @@ -/* Copyright (c) 2004-2012. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2013. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -98,6 +99,9 @@ msg_error_t MSG_parallel_task_execute(msg_task_t task) case cancel_error: status = MSG_TASK_CANCELED; break; + case host_error: + status = MSG_HOST_FAILURE; + break; default: RETHROW; } @@ -622,7 +626,7 @@ msg_comm_t MSG_task_irecv_bounded(msg_task_t *task, const char *name, double rat smx_rdv_t rdv = MSG_mailbox_get_by_alias(name); - simcall_comm_change_rate_first_action(rdv,rate); + /* FIXME: these functions are not traceable */ /* Sanity check */ @@ -637,7 +641,7 @@ msg_comm_t MSG_task_irecv_bounded(msg_task_t *task, const char *name, double rat comm->task_sent = NULL; comm->task_received = task; comm->status = MSG_OK; - comm->s_comm = simcall_comm_irecv(rdv, task, NULL, NULL, NULL); + comm->s_comm = simcall_comm_irecv_bounded(rdv, task, NULL, NULL, NULL, rate); return comm; }