摘要:
代码原理基于内核kfifo的原理移植 rkfifo.c #include "rkfifo.h" #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) static uint32_t CLZ_32(uint32_t n) { i 阅读全文
posted @ 2021-11-26 17:01
上官鸿信の
阅读(360)
评论(0)
推荐(0)
摘要:
内存屏障(Memory Barrier)究竟是个什么鬼? 阅读全文
posted @ 2021-11-26 10:06
上官鸿信の
阅读(59)
评论(0)
推荐(0)