As long as the writer stores a new value into the buffer before updating the write index, the reader will always see a consistent view.

 
  • 只要写入者在更新写入索引之前向缓冲区中存入了一个新值,读取者将会始终看到一致的数组内容。
今日热词
目录 附录 查词历史