SimGrid  3.11
Versatile Simulation of Distributed Systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Fifo constructor and destructor

Typedefs

typedef struct xbt_fifo_item * xbt_fifo_item_t
 Bucket structure.
 
typedef struct xbt_fifo * xbt_fifo_t
 FIFO structure.
 

Functions

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

Detailed Description

Function Documentation

xbt_fifo_t xbt_fifo_new ( void  )

Constructor

Returns
a new fifo
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.

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.