Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Oct 17, 2024
1 parent c270589 commit 12f47ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wrench/simgrid_S4U_util/S4U_CommPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,13 @@ namespace wrench {
MessageManager::manageMessage(this, msg);
#endif
if (msg->payload != 0) {
if (not this->s4u_mb) return;
std::cerr << "WTF1: " << this->s4u_mb << "\n";
std::cerr << "WTF2: " << msg << "\n";
std::cerr << "WTF3: " << msg->payload << "\n";
this->s4u_mb->put_init(msg, (uint64_t) msg->payload)->detach();
} else {
if (not this->s4u_mq) return;
this->s4u_mq->put_init(msg)->detach();
}
}
Expand Down

0 comments on commit 12f47ca

Please sign in to comment.