S4U_PendingCommunication.h
simgrid::s4u::CommPtr comm_ptr
The SimGrid communication handle.
Definition: S4U_PendingCommunication.h:43
std::string mailbox_name
The mailbox name.
Definition: S4U_PendingCommunication.h:47
std::unique_ptr< SimulationMessage > wait()
Wait for the pending communication to complete.
Definition: S4U_PendingCommunication.cpp:31
This is a simple wrapper class around S4U asynchronous communication checking methods.
Definition: S4U_PendingCommunication.h:28
std::unique_ptr< SimulationMessage > simulation_message
The message.
Definition: S4U_PendingCommunication.h:45
S4U_PendingCommunication(std::string mailbox)
Constructor.
Definition: S4U_PendingCommunication.cpp:131
static unsigned long waitForSomethingToHappen(std::vector< std::unique_ptr< S4U_PendingCommunication >> pending_comms, double timeout)
Wait for any pending communication completion.
Definition: S4U_PendingCommunication.cpp:60
Definition: TerminalOutput.cpp:15