Functions | |
xbt_fifo_item_t | xbt_fifo_push (xbt_fifo_t, void *) |
void * | xbt_fifo_pop (xbt_fifo_t) |
xbt_fifo_item_t | xbt_fifo_unshift (xbt_fifo_t, void *) |
void * | xbt_fifo_shift (xbt_fifo_t) |
int | xbt_fifo_size (xbt_fifo_t) |
int | xbt_fifo_is_in (xbt_fifo_t, void *) |
xbt_fifo_item_t xbt_fifo_push | ( | xbt_fifo_t | l, | |
void * | t | |||
) |
Push
l | list | |
t | element |
Add an object at the tail of the list
void* xbt_fifo_pop | ( | xbt_fifo_t | l | ) |
Pop
l | list |
Removes and returns the object stored at the tail of the list. Returns NULL if the list is empty.
xbt_fifo_item_t xbt_fifo_unshift | ( | xbt_fifo_t | l, | |
void * | t | |||
) |
l | list | |
t | element |
Add an object at the head of the list
void* xbt_fifo_shift | ( | xbt_fifo_t | l | ) |
Shift
l | list |
Removes and returns the object stored at the head of the list. Returns NULL if the list is empty.
int xbt_fifo_size | ( | xbt_fifo_t | f | ) |
f | a list |
int xbt_fifo_is_in | ( | xbt_fifo_t | f, | |
void * | content | |||
) |
f | a list | |
content | an object |
Back to the main Simgrid Documentation page |
Generated for SimGridAPI by
![]() |