struct libshared_memory_state

From liblfds.org
Jump to: navigation, search

Source File

└── test_and_benchmark
    └── libshared
        └── inc
            └── libshared
                └── libshared_memory.h

Opaque Structure

struct libshared_memory_state;

Alignment

Allocations must be LFDS710_PAL_ATOMIC_ISOLATION_IN_BYTES aligned.

Notes

This structure is used to manage user-provided memory aloocations. It is published in the public header file so it can be allocated on the stack, embedded in user structures and passed to sizeof. The actual internal implementation is opaque and must not be touched.

See Also