SimGrid: RDV Management Functions

SimGrid 3.10 Versatile Simulation of Distributed Systems

- Home page
- Online documentation
- Dev's Corner

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
RDV Management Functions
SIMIX

## 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

  name | The 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

  rdv | The 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

  rdv | The rendez-vous point
  host | The 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

  rdv | The rendez-vous point

Returns
  The communication or NULL if empty