FLINT3.7.0-dev

FLINT_SHARED_CACHE_INIT

Synopsis#include <flint/thread_support.h>
FLINT_SHARED_CACHE_INIT(free_version)source

Static initialiser of a cache whose versions are freed by void free_version(void * version), for example static flint_shared_cache_struct cache = FLINT_SHARED_CACHE_INIT(my_free);.

Cite this page

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