Re: 【memory barrier】Should we update the README.barrier description.

2020-05-10 Thread Simon Riggs
On Sun, 10 May 2020 at 02:01, postgresql_2...@163.com < postgresql_2...@163.com> wrote: > Hi > > When I read the introduction of Weaknesses of Memory Barriers in > README.barrier, the following maybe out-of-date now. > > Even very simple write operations often require additional synchronization. >

【memory barrier】Should we update the README.barrier description.

2020-05-09 Thread postgresql_2...@163.com
Hi When I read the introduction of Weaknesses of Memory Barriers in README.barrier, the following maybe out-of-date now. Even very simple write operations often require additional synchronization. For example, it's not safe for multiple writers to simultaneously execute this code (supposing x is