SimGrid: Fifo constructor and destructor

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
Typedefs | Functions
Fifo constructor and destructor
Fifo: generic workqueue

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

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

  l | poor 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

  l | a fifo

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