FLINT3.7.0-dev

fft_small_op_pool_take, fft_small_op_pool_give, fft_small_op_pool_owns

Synopsis#include <flint/fft_small.h>
double * fft_small_op_pool_take(fft_small_op_pool_t pool)source
void fft_small_op_pool_give(fft_small_op_pool_t pool, double * d)source
int fft_small_op_pool_owns(const fft_small_op_pool_t pool, const void * d)source

Take a free slab, for fft_small_op_init_borrowed, or NULL if none is free; give a slab back; and test whether an address lies in the pool's block. Taking and giving are thread safe.

Cite this page

The FLINT team, “fft_small_op_pool_take, fft_small_op_pool_give, fft_small_op_pool_owns (fft_small.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fft_small/fft_small_op_pool_take.html (generated 2026-10-20).