Go to the documentation of this file. 5 #ifndef _RTE_PER_LCORE_H_ 6 #define _RTE_PER_LCORE_H_ 25 #ifdef RTE_TOOLCHAIN_MSVC 26 #define RTE_DEFINE_PER_LCORE(type, name) \ 27 __declspec(thread) typeof(type) per_lcore_##name 29 #define RTE_DECLARE_PER_LCORE(type, name) \ 30 extern __declspec(thread) typeof(type) per_lcore_##name 37 #define RTE_DEFINE_PER_LCORE(type, name) \ 38 __thread __typeof__(type) per_lcore_##name 43 #define RTE_DECLARE_PER_LCORE(type, name) \ 44 extern __thread __typeof__(type) per_lcore_##name 50 #define RTE_PER_LCORE(name) (per_lcore_##name)