struct libshared_memory_state

From liblfds.org
Revision as of 20:16, 17 February 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

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

Opaque Structure

struct libshared_memory_state;

Alignment

Allocations must be LFDS711_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