r6.1.0:lfds610_freelist_push

From liblfds.org
Jump to navigation Jump to search

Source Files

/liblfds610/src/lfds610_freelist/lfds610_freelist_pop_push.c
/liblfds610/inc/liblfds610.h

Prototype

void lfds610_freelist_push( struct lfds610_freelist_state *fs, struct lfds610_freelist_element *fe );

Parameters

struct lfds610_freelist_state *fs

A freelist state as allocated by lfds610_freelist_new.

struct lfds610_freelist_element *fe

A pointer to a freelist element as obtained by lfds610_freelist_pop or lfds610_freelist_guaranteed_pop.

Return Value

No return value.

Notes

Pushes 'fe' on to the top of the freelist.

See Also