libsc  2.8.7
The SC library provides support for parallel scientific applications.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sc_recycle_array Struct Reference

The sc_recycle_array object provides an array of slots that can be reused. More...

#include <sc_containers.h>

Collaboration diagram for sc_recycle_array:
Collaboration graph
[legend]

Data Fields

size_t elem_count
 Number of valid entries.
 
sc_array_t a
 Array of objects contained.
 
sc_array_t f
 Cache of freed objects.
 

Detailed Description

The sc_recycle_array object provides an array of slots that can be reused.

It keeps a list of free slots in the array which will be used for insertion while available. Otherwise, the array is grown.


The documentation for this struct was generated from the following file: