Listing 5 shows the PRNG implementation using synchronization, and the alternate implementation using CAS.
清单5显示了使用同步的PRNG实现和使用CAS备选实现。
2
This month, I'll add another implementation to that benchmark, one that uses AtomicLong to update the PRNG state.
本月,我将向该基准添加其他实现,使用 AtomicLong 更新 PRNG 状态的实现。
3
On the other hand, it may be possible to get a clearer glimpse of the internal PRNG state by inspecting other random values that may be used in the site.