A pool of integers. More...
Data Fields | |
int | min_size |
The minimum number of integers which must have been returned by guac_pool_next_int before previously-used and freed integers are allowed to be returned. | |
int | active |
The number of integers currently in use. |
A pool of integers.
Integers can be removed from and later free'd back into the pool. New integers are returned when the pool is exhausted, or when the pool has not met some minimum size. Old, free'd integers are returned otherwise.