Difference between revisions of "r7.1.1:Define LIBSHARED PAL THREAD CALLING CONVENTION"

From liblfds.org
Jump to navigation Jump to search
m (1 revision imported)
 
(No difference)

Latest revision as of 20:16, 17 February 2017

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