static void (*copy_data_callback_)(CommImpl*, void*, size_t);
- double rate_ = 0.0;
+ double rate_ = -1.0;
double size_ = 0.0;
bool detached_ = false; /* If detached or not */
bool copied_ = false; /* whether the data were already copied */
double get_rate() const { return rate_; }
MailboxImpl* get_mailbox() const { return mbox_; }
long get_mailbox_id() const { return mbox_id_; }
- bool detached() const { return detached_; }
- bool is_assigned() { return (to_ != nullptr && from_ != nullptr); }
+ bool is_detached() const { return detached_; }
+ bool is_assigned() const { return (to_ != nullptr && from_ != nullptr); }
std::vector<s4u::Link*> get_traversed_links() const;
void copy_data();
void set_exception(actor::ActorImpl* issuer) override;
void finish() override;
-
-#if SIMGRID_HAVE_MC
- MailboxImpl* mbox_cpy = nullptr; /* Copy of the rendez-vous where the comm is queued, MC needs it for DPOR
- (comm.mbox set to nullptr when the communication is removed from the mailbox
- (used as garbage collector)) */
-#endif
-
void (*clean_fun)(void*) = nullptr; /* Function to clean the detached src_buf if something goes wrong */
bool (*match_fun)(void*, void*, CommImpl*) = nullptr; /* Filter function used by the other side. It is used when
looking if a given communication matches my needs. For that, myself must match the