Re: [capnproto] TSAN faiure

2020-10-10 Thread Vitali Lovich
Sounds good. Relaxed is what I went with and it seemed to make TSAN happy. I uploaded a pull request for this (and the UBSAN issue). Thanks for your guidance on this. On Sat, Oct 10, 2020 at 12:14 PM Kenton Varda wrote: > An atomic read with "relaxed" ordering should be free. Even "acquire" > o

Re: [capnproto] TSAN faiure

2020-10-10 Thread 'Kenton Varda' via Cap'n Proto
An atomic read with "relaxed" ordering should be free. Even "acquire" ordering (if TSAN insists on it) is free on x86. So I'd just have it always be atomic. -Kenton On Fri, Oct 9, 2020 at 4:23 PM Vitali Lovich wrote: > Ok. That seems to have made TSAN happy (I still don't understand the exact >