摘要:
atomic:if (num_pinned == 0 && ptr != 0){ swap(ptr, 0);}struct { void *ptr; Intptr num_pinned;};p = ptrif (p != NULL){ e = [p 0x00000000] result = [NULL 0x00000000] if (CAS(&ptr, e, result)... 阅读全文
posted @ 2010-04-08 00:34
Len3d
阅读(209)
评论(3)
推荐(0)
浙公网安备 33010602011771号