cornsea

cmpxchg原子操作过程

R = cmpxchg(A, C, B) 
    - Assign A = B if A == C
     - Return A at the time of the call, unconditionally


posted on 2011-03-23 00:11  cornsea  阅读(1962)  评论(0编辑  收藏  举报

导航