摘要: 对应于Windows下的interlocked系列:type __sync_fetch_and_add (type *ptr, type value, ...)type __sync_fetch_and_sub (type *ptr, type value, ...)type __sync_fetch_and_or (type *ptr, type value, ...)type __sync_fetch_and_and (type *ptr, type value, ...)type __sync_fetch_and_xor (type *ptr, type value, ...)type 阅读全文
posted @ 2011-12-21 20:39 Scan. 阅读(764) 评论(0) 推荐(0) 编辑