struct libshared_memory_state

From liblfds.org
Revision as of 20:02, 26 May 2016 by Admin (talk | contribs) (Created page with "{{DISPLAYTITLE:struct libshared_memory_state}} ==Source File== └── test_and_benchmark └── libshared └── inc └── libshared...")
(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 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