如果深入JVM和操作系统,会发现非阻塞算法无处不在。
If you dive into the JVM and OS, you'll find nonblocking algorithms everywhere.
非阻塞算法简介:介绍如何使用原子变量而不是锁实现并发算法。
An introduction to nonblocking algorithms: Describes how concurrent algorithms can be implemented without locks, using atomic variables.
非阻塞算法通常叫作乐观算法,因为它们继续操作的假设是不会有干扰。
Nonblocking algorithms are often called optimistic because they proceed with the assumption that there will be no interference.
应用推荐