SimGrid  3.14.159
Versatile Simulation of Distributed Systems

Detailed Description

Typedefs

typedef struct xbt_fifo_itemxbt_fifo_item_t
 Bucket structure. More...
 
typedef struct xbt_fifoxbt_fifo_t
 FIFO structure. More...
 

Functions

xbt_fifo_t xbt_fifo_new (void)
 Constructor. More...
 
void xbt_fifo_free (xbt_fifo_t l)
 Destructor. More...
 
void xbt_fifo_reset (xbt_fifo_t l)
 Makes a fifo empty. More...
 

Typedef Documentation

◆ xbt_fifo_item_t

typedef struct xbt_fifo_item* xbt_fifo_item_t

Bucket structure.

◆ xbt_fifo_t

typedef struct xbt_fifo* xbt_fifo_t

FIFO structure.

Function Documentation

◆ xbt_fifo_new()

xbt_fifo_t xbt_fifo_new ( void  )

Constructor.

Returns
a new fifo

◆ xbt_fifo_free()

void xbt_fifo_free ( xbt_fifo_t  l)

Destructor.

Parameters
lpoor victim

Free the fifo structure. None of the objects that was in the fifo is however modified.

◆ xbt_fifo_reset()

void xbt_fifo_reset ( xbt_fifo_t  l)

Makes a fifo empty.

Parameters
la fifo

None of the objects that was in the fifo is however modified.