smx_mailbox_t mbox = simcall_mbox_get_by_name(name);
if (mbox == nullptr)
mbox = simcall_mbox_create(name);
- return MailboxPtr(&mbox->mbox_, true);
+ return MailboxPtr(&mbox->piface_, true);
}
bool Mailbox::empty() {
mbox->setReceiver(&process->actor());
}
smx_process_t sg_mbox_receiver(sg_mbox_t mbox) {
- return mbox->receiver()->getInferior();
+ return mbox->receiver()->getImpl();
}