I have just declared some variable types that I clearly know, and I used the cleanest Pyrex counterloop.
我只声明了早已知道的一些变量类型,并使用最干净的Pyrex counter循环。
2
The examples so far -- counter and stack -- are very simple nonblocking algorithms and are easy to follow once you grasp the pattern of using CAS in a loop.