S4U_PendingCommunication.h
47 S4U_PendingCommunication(std::string mailbox_name, OperationType operation_type) : mailbox_name(mailbox_name), operation_type(operation_type) {}
OperationType operation_type
The operation type.
Definition: S4U_PendingCommunication.h:68
static unsigned long waitForSomethingToHappen(std::vector< std::shared_ptr< S4U_PendingCommunication >> pending_comms, double timeout)
Wait for any pending communication completion.
Definition: S4U_PendingCommunication.cpp:60
S4U_PendingCommunication(std::string mailbox_name, OperationType operation_type)
Constructor.
Definition: S4U_PendingCommunication.h:47
simgrid::s4u::CommPtr comm_ptr
The SimGrid communication handle.
Definition: S4U_PendingCommunication.h:62
std::string mailbox_name
The mailbox name.
Definition: S4U_PendingCommunication.h:66
std::shared_ptr< SimulationMessage > wait()
Wait for the pending communication to complete.
Definition: S4U_PendingCommunication.cpp:33
This is a simple wrapper class around S4U asynchronous communication checking methods.
Definition: S4U_PendingCommunication.h:30
std::shared_ptr< SimulationMessage > simulation_message
The message.
Definition: S4U_PendingCommunication.h:64
OperationType
The communication operation's type.
Definition: S4U_PendingCommunication.h:36
Definition: Alarm.cpp:19