[Tsan] How tsan print previous stack in report?

10 views
Skip to first unread message

847567161

unread,
Mar 19, 2024, 6:16:52 AMMar 19
to thread-sanitizer
Hello guys,   
  I'm enabling Tsan on Openharmony and  have a few questions: 
  Q1: How tsan print previous stack in report?
  Q2: How tsan to determine happen-before ?How vector clock work?could you give more details?

Thanks.

Alex A.

unread,
May 20, 2024, 11:47:23 PMMay 20
to thread-sanitizer
Hi,
After doing some research for project of mine, Tsan's algorithm is similar to FastTrack's. There is also a pretty good presentation here, on how tsan's algorithm works. There are other optimizations and details, but that's the basic idea.
Reply all
Reply to author
Forward
0 new messages