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
Merge with framagit/master
[simgrid.git]
/
src
/
s4u
/
s4u_Io.cpp
diff --git
a/src/s4u/s4u_Io.cpp
b/src/s4u/s4u_Io.cpp
index
acd9a0d
..
736336a
100644
(file)
--- a/
src/s4u/s4u_Io.cpp
+++ b/
src/s4u/s4u_Io.cpp
@@
-12,8
+12,8
@@
namespace simgrid {
namespace s4u {
namespace simgrid {
namespace s4u {
-xbt::signal<void(Io const&
, Actor const&
)> Io::on_start;
-xbt::signal<void(Io const&
, Actor const&
)> Io::on_completion;
+xbt::signal<void(Io const&)> Io::on_start;
+xbt::signal<void(Io const&)> Io::on_completion;
Io::Io(sg_disk_t disk, sg_size_t size, OpType type) : disk_(disk), size_(size), type_(type)
{
Io::Io(sg_disk_t disk, sg_size_t size, OpType type) : disk_(disk), size_(size), type_(type)
{
@@
-51,7
+51,7
@@
Io* Io::start()
pimpl_->suspend();
state_ = State::STARTED;
pimpl_->suspend();
state_ = State::STARTED;
- on_start(*this
, *Actor::self()
);
+ on_start(*this);
return this;
}
return this;
}
@@
-77,7
+77,7
@@
Io* Io::wait_for(double timeout)
state_ = State::FINISHED;
this->release_dependencies();
state_ = State::FINISHED;
this->release_dependencies();
- on_completion(*this
, *Actor::self()
);
+ on_completion(*this);
return this;
}
return this;
}