SimGrid  3.10
Versatile Simulation of Distributed Systems
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
RDV Management Functions

Functions

smx_rdv_t simcall_rdv_create (const char *name)
 Creates a new rendez-vous point.
void simcall_rdv_destroy (smx_rdv_t rdv)
 Destroy a rendez-vous point.
smx_rdv_t simcall_rdv_get_by_name (const char *name)
 Returns a rendez-vous point knowing its name.
int simcall_rdv_comm_count_by_host (smx_rdv_t rdv, smx_host_t host)
 Counts the number of communication actions of a given host pending on a rendez-vous point.
smx_action_t simcall_rdv_get_head (smx_rdv_t rdv)
 returns the communication at the head of the rendez-vous

Detailed Description

Function Documentation

smx_rdv_t simcall_rdv_create ( const char *  name)

Creates a new rendez-vous point.

Parameters
nameThe name of the rendez-vous point
Returns
The created rendez-vous point
void simcall_rdv_destroy ( smx_rdv_t  rdv)

Destroy a rendez-vous point.

Parameters
rdvThe rendez-vous point to destroy
int simcall_rdv_comm_count_by_host ( smx_rdv_t  rdv,
smx_host_t  host 
)

Counts the number of communication actions of a given host pending on a rendez-vous point.

Parameters
rdvThe rendez-vous point
hostThe host to be counted
Returns
The number of comm actions pending in the rdv
smx_action_t simcall_rdv_get_head ( smx_rdv_t  rdv)

returns the communication at the head of the rendez-vous

Parameters
rdvThe rendez-vous point
Returns
The communication or NULL if empty