How to allocate and free aligned memory in C

后端 未结 3 1156
醉酒成梦
醉酒成梦 2021-01-30 07:15

How do you allocate memory that\'s aligned to a specific boundary in C (e.g., cache line boundary)? I\'m looking for malloc/free like implementation that ideally would be as po

3条回答
提交回复
热议问题