cache alignment of a struct with declspec(align())

后端 未结 0 1293
孤城傲影
孤城傲影 2020-12-11 23:17

I know a little bit what is cache alignment and what will happen when we used it.

#define CACHE_LINE  32
#define CACHE_ALIGN __declspec(align(CACHE_LINE))
str         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题