X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fbe931e3c86ea3b79130440b0c5f184d3affa51c..778f65057da68465382593cd036b6ee59ada54e9:/src/gras/Msg/sg_msg.c diff --git a/src/gras/Msg/sg_msg.c b/src/gras/Msg/sg_msg.c index bd0e50c533..67b2d8b32b 100644 --- a/src/gras/Msg/sg_msg.c +++ b/src/gras/Msg/sg_msg.c @@ -78,8 +78,8 @@ void gras_msg_send_ext(gras_socket_t sock, DEBUG1("Prepare to send a message to %s", MSG_host_get_name (sock_data->to_host)); - if (MSG_task_put(task, sock_data->to_host,sock_data->to_chan) != MSG_OK) - THROW0(system_error,0,"Problem during the MSG_task_put"); + if (MSG_task_put_with_timeout(task, sock_data->to_host,sock_data->to_chan,60.0) != MSG_OK) + THROW0(system_error,0,"Problem during the MSG_task_put with timeout 60"); VERB5("Sent to %s(%d) a message type '%s' kind '%s' ID %lu", MSG_host_get_name(sock_data->to_host),sock_data->to_PID,