SimGrid  3.14.159
Versatile Simulation of Distributed Systems
smx_network_private.h File Reference
#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)
 

Macro Definition Documentation

§ MAX_MAILBOX_SIZE

#define MAX_MAILBOX_SIZE   10000000

Function Documentation

§ SIMIX_mailbox_exit()

void SIMIX_mailbox_exit ( )

§ SIMIX_mbox_create()

smx_mailbox_t SIMIX_mbox_create ( const char *  name)

§ SIMIX_mbox_get_by_name()

smx_mailbox_t SIMIX_mbox_get_by_name ( const char *  name)

§ SIMIX_mbox_remove()

void SIMIX_mbox_remove ( smx_mailbox_t  mbox,
smx_activity_t  synchro 
)

Removes a communication synchro from a rendez-vous point.

Parameters
mboxThe rendez-vous point
synchroThe communication synchro

§ SIMIX_mbox_set_receiver()

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

Parameters
mboxThe rendez-vous point
processThe receiving process

§ SIMIX_comm_irecv()

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 
)

§ SIMIX_comm_iprobe()

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 
)