X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/50486ccd16de39a3659592fab44adfaf3104a086..f6c9a2b6c90817616b0c13bae51d150b6fb46fcd:/src/msg/msg_mailbox.c?ds=sidebyside diff --git a/src/msg/msg_mailbox.c b/src/msg/msg_mailbox.c index 9872c2bcea..8d575a6f2b 100644 --- a/src/msg/msg_mailbox.c +++ b/src/msg/msg_mailbox.c @@ -58,6 +58,7 @@ msg_mailbox_t MSG_mailbox_get_by_alias(const char *alias) msg_mailbox_t MSG_mailbox_get_by_channel(m_host_t host, m_channel_t channel) { + XBT_WARN("DEPRECATED! Now use MSG_mailbox_get_by_alias"); xbt_assert((host != NULL), "Invalid host"); xbt_assert((channel >= 0) && (channel < msg_global->max_channel), "Invalid channel %d", @@ -155,7 +156,7 @@ MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, m_task_t task, TRY { smx_action_t comm = SIMIX_req_comm_isend(mailbox, t_simdata->message_size, t_simdata->rate, task, sizeof(void *), - NULL, NULL, 0); + NULL, NULL, task, 0); #ifdef HAVE_TRACING if (TRACE_is_enabled()) { SIMIX_req_set_category(comm, task->category);