Difference between pages "r7.1.1:Define LIBSHARED PAL OS STRING" and "r7.1.1:Define LIBSHARED PAL THREAD CALLING CONVENTION"
(Difference between pages)
Jump to navigation
Jump to search
m (1 revision imported) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:define | {{DISPLAYTITLE:define LIBSHARED_PAL_THREAD_CALLING_CONVENTION}} | ||
==Source File== | ==Source File== | ||
└───test_and_benchmark | └───test_and_benchmark | ||
Line 8: | Line 8: | ||
==Define== | ==Define== | ||
#define | #define LIBSHARED_PAL_THREAD_CALLING_CONVENTION [calling convention] | ||
==Example== | ==Example== | ||
#define | #define LIBSHARED_PAL_THREAD_CALLING_CONVENTION WINAPI | ||
==Optionality== | ==Optionality== | ||
This define is mandatory and the library cannot compile if it is not set. | This define is mandatory and the library cannot compile if in the cases where it is needed, it is not set. | ||
==Notes== | ==Notes== | ||
This define | 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== | ==See Also== | ||
* [[r7.1.1:Porting Guide (libshared)|Porting Guide (libshared)]] | * [[r7.1.1:Porting Guide (libshared)|Porting Guide (libshared)]] |
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.