A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename simix::kernelImmediate into simix::simcall
[simgrid.git]
/
src
/
s4u
/
s4u_Mailbox.cpp
diff --git
a/src/s4u/s4u_Mailbox.cpp
b/src/s4u/s4u_Mailbox.cpp
index
c135ce7
..
f57874e
100644
(file)
--- a/
src/s4u/s4u_Mailbox.cpp
+++ b/
src/s4u/s4u_Mailbox.cpp
@@
-30,7
+30,7
@@
MailboxPtr Mailbox::byName(const char* name)
{
kernel::activity::MailboxImpl* mbox = kernel::activity::MailboxImpl::byNameOrNull(name);
if (mbox == nullptr) {
- mbox = simix::
kernelImmediate
([name] { return kernel::activity::MailboxImpl::byNameOrCreate(name); });
+ mbox = simix::
simcall
([name] { return kernel::activity::MailboxImpl::byNameOrCreate(name); });
}
return MailboxPtr(&mbox->piface_, true);
}
@@
-57,7
+57,7
@@
smx_activity_t Mailbox::front()
void Mailbox::setReceiver(ActorPtr actor)
{
- simix::
kernelImmediate
([this, actor]() { this->pimpl_->setReceiver(actor); });
+ simix::
simcall
([this, actor]() { this->pimpl_->setReceiver(actor); });
}
/** @brief get the receiver (process associated to the mailbox) */