XBT_PUBLIC(smx_process_t) simcall_mbox_get_receiver(smx_mailbox_t mbox);
XBT_PUBLIC(void) simcall_mbox_set_receiver(smx_mailbox_t mbox , smx_process_t process);
-XBT_PUBLIC(xbt_dict_t) SIMIX_get_mailboxes(void);
-
/***** Communication simcalls *****/
XBT_PUBLIC(void) simcall_comm_send(smx_process_t sender, smx_mailbox_t mbox, double task_size,
xbt_free(mbox);
}
-xbt_dict_t SIMIX_get_mailboxes()
-{
- return mailboxes;
-}
-
smx_mailbox_t SIMIX_mbox_get_by_name(const char *name)
{
return (smx_mailbox_t) xbt_dict_get_or_null(mailboxes, name);