__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
相关文章
相关标签/搜索