X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aca82eb79d2576bb0696a8ee66a27e60f64aa62b..fa566f5efbd82018b1cf560e2453eb846c49c173:/include/simgrid/msg.h diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index ea973f2a0f..d2450b4701 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -484,14 +484,12 @@ XBT_PUBLIC(void) MSG_mailbox_set_async(const char *alias); * @param mailbox The mailbox concerned by the operation. * @return The task at the head of the mailbox. */ -XBT_PUBLIC(msg_task_t) MSG_mailbox_get_head(msg_mailbox_t mailbox); +XBT_PUBLIC(msg_task_t) MSG_mailbox_front(msg_mailbox_t mailbox); XBT_PUBLIC(msg_error_t) MSG_mailbox_get_task_ext(msg_mailbox_t mailbox, msg_task_t * task, msg_host_t host, double timeout); XBT_PUBLIC(msg_error_t) MSG_mailbox_get_task_ext_bounded(msg_mailbox_t mailbox, msg_task_t *task, msg_host_t host, double timeout, double rate); -XBT_PUBLIC(msg_error_t) MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, msg_task_t task, double timeout); - /************************** Action handling **********************************/ XBT_PUBLIC(msg_error_t) MSG_action_trace_run(char *path); @@ -599,5 +597,10 @@ xbt_dynar_t MSG_vm_get_list_from_hosts(msg_dynar_t) /* Used only by the bindings -- unclean pimple, please ignore if you're not writing a binding */ XBT_PUBLIC(smx_context_t) MSG_process_get_smx_ctx(msg_process_t process); + +/* Functions renamed in 3.14 */ +#define MSG_mailbox_get_head(m) MSG_mailbox_front(m) + + SG_END_DECL() #endif