__context__屬性

 在分析自旋鎖代碼時,最終跟蹤下來,會在 include/linux/compiler.h 中看到下面的代碼: ? 1 2 3 4 5 6 7 8 9 10 11 12 #ifdef __CHECKER__ ... # define __acquire(x)    __context__(x,1) # define __release(x)    __context__(x,-1) ... #el
相關文章
相關標籤/搜索