define LIBSHARED_PAL_THREAD_CALLING_CONVENTION

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_porting_abstraction_layer_compiler.h

Define

#define LIBSHARED_PAL_THREAD_CALLING_CONVENTION  [calling convention]

Example

#define LIBSHARED_PAL_THREAD_CALLING_CONVENTION  WINAPI

Optionality

This define is mandatory and the library cannot compile if in the cases where it is needed, it is not set.

Notes

Windows specifies a particular calling convention for thread functions. This define masks that convention across platforms, by being set but empty on other platforms.

See Also