On Mon, 29 Apr 2024 at 13:58, '847567161' via thread-sanitizer
<
thread-s...@googlegroups.com> wrote:
>
> Hello guys,
> I'm working on tsan and have a few questions:
> Q1: How do we know when we need to increase epoch? How we designed it
Hi Chuang,
Tsan should increment thread's epoch before each synchronization
release operation (mutex unlock, atomic-store-release).
> Q2: When will we do the clock sync, is there a list?
Grepping of source code for corresponding functions will provide the
best list. There is no special list outside of the source code.