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
fix the API to isend detach() and speak about it in ChangeLog
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Comm.hpp
diff --git
a/include/simgrid/s4u/Comm.hpp
b/include/simgrid/s4u/Comm.hpp
index
f577980
..
1975d6e
100644
(file)
--- a/
include/simgrid/s4u/Comm.hpp
+++ b/
include/simgrid/s4u/Comm.hpp
@@
-60,14
+60,14
@@
public:
static CommPtr recv_init(MailboxPtr from);
/** Creates and start an async recv to the mailbox @p from */
static CommPtr recv_async(MailboxPtr from, void** data);
static CommPtr recv_init(MailboxPtr from);
/** Creates and start an async recv to the mailbox @p from */
static CommPtr recv_async(MailboxPtr from, void** data);
- /** Creates and start a detached send to the mailbox @p dest
- * TODO: make it possible to detach an already created comm */
- static void send_detached(MailboxPtr dest, void* data, int simulatedSize);
void start() override;
void wait() override;
void wait(double timeout) override;
void start() override;
void wait() override;
void wait(double timeout) override;
+ /** Start the comm, and ignore its result. It can be completely forgotten after that. */
+ void detach();
+
/** Sets the maximal communication rate (in byte/sec). Must be done before start */
void setRate(double rate);
/** Sets the maximal communication rate (in byte/sec). Must be done before start */
void setRate(double rate);