SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <boost/circular_buffer.hpp>
#include "simgrid/s4u/Mailbox.hpp"
#include "src/simix/ActorImpl.hpp"
Classes | |
class | simgrid::simix::Mailbox |
Rendez-vous point datatype. More... | |
Namespaces | |
simgrid | |
Host datatype from SIMIX POV. | |
simgrid::simix | |
Macros | |
#define | MAX_MAILBOX_SIZE 10000000 |
Functions | |
void | SIMIX_mailbox_exit () |
smx_mailbox_t | SIMIX_mbox_create (const char *name) |
smx_mailbox_t | SIMIX_mbox_get_by_name (const char *name) |
void | SIMIX_mbox_remove (smx_mailbox_t mbox, smx_activity_t comm) |
Removes a communication synchro from a rendez-vous point. More... | |
void | SIMIX_mbox_set_receiver (smx_mailbox_t mbox, smx_actor_t proc) |
set the receiver of the rendez vous point to allow eager sends More... | |
smx_activity_t | SIMIX_comm_irecv (smx_actor_t dst_proc, smx_mailbox_t mbox, void *dst_buff, size_t *dst_buff_size, int(*match_fun)(void *, void *, smx_activity_t), void(*copy_data_fun)(smx_activity_t, void *, size_t), void *data, double rate) |
smx_activity_t | SIMIX_comm_iprobe (smx_actor_t dst_proc, smx_mailbox_t mbox, int type, int src, int tag, int(*match_fun)(void *, void *, smx_activity_t), void *data) |
#define MAX_MAILBOX_SIZE 10000000 |
void SIMIX_mailbox_exit | ( | ) |
smx_mailbox_t SIMIX_mbox_create | ( | const char * | name | ) |
smx_mailbox_t SIMIX_mbox_get_by_name | ( | const char * | name | ) |
void SIMIX_mbox_remove | ( | smx_mailbox_t | mbox, |
smx_activity_t | synchro | ||
) |
Removes a communication synchro from a rendez-vous point.
mbox | The rendez-vous point |
synchro | The communication synchro |
void SIMIX_mbox_set_receiver | ( | smx_mailbox_t | mbox, |
smx_actor_t | process | ||
) |
set the receiver of the rendez vous point to allow eager sends
mbox | The rendez-vous point |
process | The receiving process |
smx_activity_t SIMIX_comm_irecv | ( | smx_actor_t | dst_proc, |
smx_mailbox_t | mbox, | ||
void * | dst_buff, | ||
size_t * | dst_buff_size, | ||
int(*)(void *, void *, smx_activity_t) | match_fun, | ||
void(*)(smx_activity_t, void *, size_t) | copy_data_fun, | ||
void * | data, | ||
double | rate | ||
) |
smx_activity_t SIMIX_comm_iprobe | ( | smx_actor_t | dst_proc, |
smx_mailbox_t | mbox, | ||
int | type, | ||
int | src, | ||
int | tag, | ||
int(*)(void *, void *, smx_activity_t) | match_fun, | ||
void * | data | ||
) |