define LIBSHARED_PAL_THREAD_CALLING_CONVENTION
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.