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 the plugins from the command line, and document it
[simgrid.git]
/
src
/
s4u
/
s4u_Mailbox.cpp
diff --git
a/src/s4u/s4u_Mailbox.cpp
b/src/s4u/s4u_Mailbox.cpp
index
f57874e
..
421486f
100644
(file)
--- a/
src/s4u/s4u_Mailbox.cpp
+++ b/
src/s4u/s4u_Mailbox.cpp
@@
-26,7
+26,7
@@
const char* Mailbox::get_cname() const
return pimpl_->get_cname();
}
return pimpl_->get_cname();
}
-MailboxPtr Mailbox::by
N
ame(const char* name)
+MailboxPtr Mailbox::by
_n
ame(const char* name)
{
kernel::activity::MailboxImpl* mbox = kernel::activity::MailboxImpl::byNameOrNull(name);
if (mbox == nullptr) {
{
kernel::activity::MailboxImpl* mbox = kernel::activity::MailboxImpl::byNameOrNull(name);
if (mbox == nullptr) {
@@
-35,9
+35,9
@@
MailboxPtr Mailbox::byName(const char* name)
return MailboxPtr(&mbox->piface_, true);
}
return MailboxPtr(&mbox->piface_, true);
}
-MailboxPtr Mailbox::by
N
ame(std::string name)
+MailboxPtr Mailbox::by
_n
ame(std::string name)
{
{
- return by
N
ame(name.c_str());
+ return by
_n
ame(name.c_str());
}
bool Mailbox::empty()
}
bool Mailbox::empty()
@@
-55,13
+55,13
@@
smx_activity_t Mailbox::front()
return pimpl_->comm_queue.empty() ? nullptr : pimpl_->comm_queue.front();
}
return pimpl_->comm_queue.empty() ? nullptr : pimpl_->comm_queue.front();
}
-void Mailbox::set
R
eceiver(ActorPtr actor)
+void Mailbox::set
_r
eceiver(ActorPtr actor)
{
simix::simcall([this, actor]() { this->pimpl_->setReceiver(actor); });
}
/** @brief get the receiver (process associated to the mailbox) */
{
simix::simcall([this, actor]() { this->pimpl_->setReceiver(actor); });
}
/** @brief get the receiver (process associated to the mailbox) */
-ActorPtr Mailbox::get
R
eceiver()
+ActorPtr Mailbox::get
_r
eceiver()
{
if (pimpl_->permanent_receiver == nullptr)
return ActorPtr();
{
if (pimpl_->permanent_receiver == nullptr)
return ActorPtr();