define LFDS710_PAL_INLINE

From liblfds.org
Revision as of 05:48, 27 May 2016 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds710
    └───inc
        └───liblfds710
                lfds710_porting_abstraction_layer_compiler.h

Define

#define LFDS710_PAL_INLINE  [compiler inline directive]

Example

#define LFDS710_PAL_INLINE  __forceinline

Optionality

This define is optional. If it not provided, it must be left empty, rather than being absent.

Notes

The library is in part intended for high performance applications. In such a setting, function calls are an expensive event. This is why the atomic operations are defined in the platform abstraction layer as macros, which in turn contain compiler intrinsics.

There are one or two important tasks which are frequently taken by the library which are implemented as inline functions. If they are not inline, performance will suffer a significant hit.

See Also