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
implement getter s4u::Comm::mailbox()
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Comm.hpp
diff --git
a/include/simgrid/s4u/Comm.hpp
b/include/simgrid/s4u/Comm.hpp
index
16682aa
..
a2c71d0
100644
(file)
--- a/
include/simgrid/s4u/Comm.hpp
+++ b/
include/simgrid/s4u/Comm.hpp
@@
-112,6
+112,9
@@
public:
bool test();
void cancel();
+ /** Retrieve the mailbox on which this comm acts */
+ MailboxPtr mailbox();
+
private:
double rate_ = -1;
void* dstBuff_ = nullptr;