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
s4u: allows full single-line initialization
[simgrid.git]
/
src
/
s4u
/
s4u_Link.cpp
diff --git
a/src/s4u/s4u_Link.cpp
b/src/s4u/s4u_Link.cpp
index
373708b
..
41a19ab
100644
(file)
--- a/
src/s4u/s4u_Link.cpp
+++ b/
src/s4u/s4u_Link.cpp
@@
-122,9
+122,10
@@
void Link::turn_off()
{
kernel::actor::simcall([this]() { this->pimpl_->turn_off(); });
}
{
kernel::actor::simcall([this]() { this->pimpl_->turn_off(); });
}
-
void
Link::seal()
+
Link*
Link::seal()
{
kernel::actor::simcall([this]() { this->pimpl_->seal(); });
{
kernel::actor::simcall([this]() { this->pimpl_->seal(); });
+ return this;
}
bool Link::is_on() const
}
bool Link::is_on() const