define LFDS700_PAL_INLINE

From liblfds.org
Revision as of 23:52, 24 December 2015 by Admin (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds700
    └───inc
        └───liblfds700
                lfds700_lfds700_porting_abstraction_layer_compiler.h

Define

#define LFDS700_PAL_INLINE  [compiler inline directive]

Example

#define LFDS700_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