While the most common reason for using synchronization is to guarantee atomic access to critical sections of code, synchronization actually provides three separate functions - atomicity, visibility, and ordering.

 
  • 虽然使用同步最常见的原因是保证对代码关键部分的原子访问,但实际上同步提供三个独立的功能原子性、可见性和顺序性。
今日热词
目录 附录 查词历史