示例#1
0
 private bool CompareAndSetLatch(int index, Latch expected, Latch update)
 {
     return(UnsafeUtil.compareAndSwapObject(_latches, Offset(index), expected, update));
 }