[PATCH] D76073: [compiler-rt][tsan] Fix: Leak of ThreadSignalContext memory mapping when destroying fibers.

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 09:43:29 PDT 2020


dvyukov added a comment.

> So essentially in Go a ThreadState is used as a Fiber (which they call goroutine and schedule internally)?

In Go goroutine what is Thread in C.

> Does tsan then run its race-detection logic on a per ThreadState/per logical string of execution basis?

Yes, race detection logic is tied to ThreadState.
Processors is unrelated to logic, it's merely an implementation abstraction for better resource utilization.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76073/new/

https://reviews.llvm.org/D76073





More information about the llvm-commits mailing list