开发者

Java Concurrent API's

Can some one please explain how CAS(compare swap) machine instructions are leveraged by java concurrent A开发者_开发百科PI's?


CAS instructions are used in the Atomic* classes. For why you would want to use them vs volatile, see here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜